0 votes
in VueJS by

How do you configure vuejs in webpack?

1 Answer

0 votes
by

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

    }

  }

}

Related questions

0 votes
asked Sep 7, 2023 in VueJS by DavidAnderson
0 votes
asked Sep 7, 2023 in VueJS by AdilsonLima
...