FrontendDeveloper.in

Vue.js question 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
}
}
}
Back to all Vue.js questions
Get LinkedIn Premium at Rs 399