Your starting point is incorrect. Vue + node.js can build a complete site. Vue is a front-end environment, node server language. These two options can be used in combination. But not vue should rely on node to use. Two of them may be ideal for achieving front and back trim development models.
In projects that use vue, people do not recommend setting up webpack and vue-loader separately. You can directly use the official vue, vue-cli scaffolding. You do not need to consider these configurations that are automatically configured.
Vue-cli
If you're just starting to learn Vue, here's an entry-level demo. Although this is just a small application, it covers many knowledge points (vue2.0 + vue-cli + vue-router + vuex + axios + mysql + express + pm2 + webpack), including front-end, back-end, database and others sites. Some of the necessary elements, for me, studying great importance, would like to encourage each other!
Vue demo
AlloyTeamZy
source share