We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there,
I used vue-cli to create the standard webpack scaffolding.
I'm using vue2 and vue-socket.io.
Running on the dev server, everything works perfectly. But when I build and run the built server, I get:
build.js:2Uncaught ReferenceError: f is not defined(…)
The problem isn't there when I don't include vue-socket.io (but then I can't use this awesome library)
The text was updated successfully, but these errors were encountered:
Hello,
I have the same problem, on dev build works, but on production build not work. Laravel elixir + webpack + vuejs2
My console log: app.js:54 Uncaught ReferenceError: c is not define
app.js:54 Uncaught ReferenceError: c is not define
Sorry, something went wrong.
Update your UglifyJsPlugin configuration in /build/webpack.prod.conf.js to avoid mangling names, like so:
/build/webpack.prod.conf.js
new webpack.optimize.UglifyJsPlugin({ compress: { warnings: false }, mangle: false }),
Don't work for me :( Even in dev or prod.
No branches or pull requests
Hi there,
I used vue-cli to create the standard webpack scaffolding.
I'm using vue2 and vue-socket.io.
Running on the dev server, everything works perfectly. But when I build and run the built server, I get:
build.js:2Uncaught ReferenceError: f is not defined(…)
The problem isn't there when I don't include vue-socket.io (but then I can't use this awesome library)
The text was updated successfully, but these errors were encountered: