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] 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 }), ], }