From a5cc882f5486572a69618c50e9a3c10bf1f5c294 Mon Sep 17 00:00:00 2001 From: ArvinHuang <1095369685@qq.com> Date: Mon, 15 Jan 2024 16:55:48 +0800 Subject: [PATCH 1/2] update: vuex_prd_tools configuration Signed-off-by: ArvinHuang <1095369685@qq.com> --- resources-front-end/packages/fate-board/src/store/store.ts | 1 + resources-front-end/packages/fate-board/webpack.config.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/resources-front-end/packages/fate-board/src/store/store.ts b/resources-front-end/packages/fate-board/src/store/store.ts index 49feec6c..20a5bff2 100644 --- a/resources-front-end/packages/fate-board/src/store/store.ts +++ b/resources-front-end/packages/fate-board/src/store/store.ts @@ -2,5 +2,6 @@ import { createStore } from 'vuex'; import Mods from './modules'; export default createStore({ + devtools: false, modules: Mods, }); diff --git a/resources-front-end/packages/fate-board/webpack.config.js b/resources-front-end/packages/fate-board/webpack.config.js index 560d8af8..9b341f88 100644 --- a/resources-front-end/packages/fate-board/webpack.config.js +++ b/resources-front-end/packages/fate-board/webpack.config.js @@ -19,6 +19,8 @@ module.exports = function (env, args) { plugins: [ new webpack.DefinePlugin({ 'process.env': require('./dev.env'), + '__VUE_OPTIONS_API__': true, + '__VUE_PROD_DEVTOOLS__': false }), ], } From 160ee182869f6c5f5d88b964c997b95e6a9a66cb Mon Sep 17 00:00:00 2001 From: Arvin Huang <1095369685@qq.com> Date: Tue, 16 Jan 2024 10:40:02 +0800 Subject: [PATCH 2/2] update: meta for html Signed-off-by: Arvin Huang <1095369685@qq.com> --- resources-front-end/packages/fate-board/html/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources-front-end/packages/fate-board/html/index.html b/resources-front-end/packages/fate-board/html/index.html index 4402b337..fce95e28 100644 --- a/resources-front-end/packages/fate-board/html/index.html +++ b/resources-front-end/packages/fate-board/html/index.html @@ -2,7 +2,7 @@ - + FateBoard