From b848cf5aa7650b393a155c20012e26a83f7efba2 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Fri, 29 Oct 2021 18:24:23 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D1=85=D0=BE=D0=B4=20?= =?UTF-8?q?=D0=BD=D0=B0=20Vue=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/webpack.base.config.js | 17 ++++++++--------- client/components/Reader/Reader.vue | 2 +- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/build/webpack.base.config.js b/build/webpack.base.config.js index cef2fb49..19933ede 100644 --- a/build/webpack.base.config.js +++ b/build/webpack.base.config.js @@ -5,11 +5,11 @@ const { VueLoaderPlugin } = require('vue-loader'); const clientDir = path.resolve(__dirname, '../client'); module.exports = { - resolve: { + /*resolve: { alias: { vue: '@vue/compat' } - }, + },*/ entry: [`${clientDir}/main.js`], output: { publicPath: '/app/', @@ -20,16 +20,15 @@ module.exports = { { test: /\.vue$/, loader: 'vue-loader', - options: { - compilerOptions: { - compatConfig: { - MODE: 2 - } + /*options: { + compilerOptions: { + compatConfig: { + MODE: 2 + } } - } + }*/ }, { - //test: /\.includer$/, resourceQuery: /^\?vue/, use: path.resolve('build/includer.js') }, diff --git a/client/components/Reader/Reader.vue b/client/components/Reader/Reader.vue index 60b80295..6aeff2b6 100644 --- a/client/components/Reader/Reader.vue +++ b/client/components/Reader/Reader.vue @@ -912,7 +912,7 @@ class Reader { } get activePage() { - let result = ''; + let result = undefined; if (this.progressActive) result = 'ProgressPage';