FrontendDeveloper.in

Vue.js Track Detail

How do you configure vuejs in webpack?

You can configure vueJS in webpack using alias as below,

module.exports = {
// ...
resolve: {
alias: {
'vue$': 'vue/dist/vue.esm.js' // 'vue/dist/vue.common.js' for webpack 1
}
}
}