FranckFreiburger / vue-pdf

vue.js pdf viewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

run dev is fine,after build has error "Uncaught SyntaxError: Unexpected token '<'"

tsunami77777 opened this issue · comments

It is no problem for me to run dev to the dev environment,but when I npm build to the test environment, it has a error "Uncaught SyntaxError: Unexpected token '<'",and pdf can not be displayed.

  • vue-pdf 4.2.0
  • vue.js 2.6.14
  • webpack 4.41.5

do you have solved this problem?