1 | export default {
|
2 | chainWebpack: (config) => {
|
3 | config.resolve.alias.set('vue', '@vue/compat')
|
4 |
|
5 | config.module
|
6 | .rule('vue')
|
7 | .use('vue-loader')
|
8 | .tap((options) => {
|
9 | return {
|
10 | ...options,
|
11 | compilerOptions: {
|
12 | compatConfig: {
|
13 | MODE: 2
|
14 | }
|
15 | }
|
16 | }
|
17 | })
|
18 | }
|
19 | }
|