loading...

re: Build a Todo App with Node.Js, ExpressJs, MongoDB and VueJs – Part 2 VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Hi Samuel, while running build i get: "ERROR in ./public/src/main.js Module not found: Error: Can't resolve 'vue'" I looked in the github and saw...
 

Hi AshGale,

We could import Vue using NPM without defining an alias in webpack.config.js. The problem is NPM provides runtime only build where template compiler is not available. One could fix this by downloading an official Vue package and defining an alias in webpack.config.js. Check this github.com/vuejs-templates/webpack...

code of conduct - report abuse