0👍
Having done a similar migration to Vue + Webpack recently, I found this blog post extremely helpful: https://itnext.io/vue-js-and-webpack-4-from-scratch-part-3-3f68d2a3c127
Another source of examples is the vue-cli. Unfortunately, the produced boilerplate is extremely hard to decipher because it requires a ton of node modules that all contribute minuscule amounts of config and also depend on other modules. So if you want to build something customized or actually learn how it all works together, it’s more trouble than it’s worth.
- [Vuejs]-How do I pass a dependency to a Vue component?
- [Vuejs]-Uncaught Error Attempting to use a disconnected port object in Vue CLI App?
Source:stackexchange.com