This is because the version of vue
without the template compiler (needed) is included by default. To override this default, add this to your webpack.config.js
:
// webpack.config.js
{
resolve: {
alias: {
vue: 'vue/dist/vue.js'
},
},
}
Source: https://github.com/vuejs-templates/webpack/issues/215
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…