diff --git a/assets/vue.config.js b/assets/vue.config.js new file mode 100644 index 00000000..c025b733 --- /dev/null +++ b/assets/vue.config.js @@ -0,0 +1,19 @@ +module.exports = { + chainWebpack: config => { + config.resolve.alias.set('vue', '@vue/compat') + + config.module + .rule('vue') + .use('vue-loader') + .tap(options => { + return { + ...options, + compilerOptions: { + compatConfig: { + MODE: 2 + } + } + } + }) + } + } \ No newline at end of file diff --git a/components/Content.vue b/components/Content.vue index d584b6ab..799524f1 100644 --- a/components/Content.vue +++ b/components/Content.vue @@ -1,3 +1,4 @@ +@import