File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,12 @@ module.exports = (env, argv) => {
146146 // It can be used in the code directly.
147147 CONFIG_LOCAL : JSON . stringify ( configLocal )
148148 } ) ,
149+ new webpack . DefinePlugin ( {
150+ // VueI18n fails with NOT_INSTALLED error for prod build.
151+ // REVIEW: A VueI18n issue?
152+ __VUE_PROD_DEVTOOLS__ : JSON . stringify ( ! isDev ) ,
153+ __INTLIFY_PROD_DEVTOOLS__ : JSON . stringify ( ! isDev )
154+ } ) ,
149155 new webpack . IgnorePlugin ( {
150156 resourceRegExp : / ^ f s $ /
151157 } ) ,
Original file line number Diff line number Diff line change 1+ import ElementPlus from 'element-plus' ;
12import { createApp } from 'vue' ;
23import { createI18n } from 'vue-i18n' ;
34import messages from './common/i18n' ;
5+ import { store } from './common/store' ;
46import EditorPage from './editor/Editor.vue' ;
5- import ExplorePage from './explore/Explore.vue' ;
67import ViewPage from './editor/View.vue' ;
7- import { store } from './common/store ' ;
8+ import ExplorePage from './explore/Explore.vue ' ;
89
910/**
1011 *
You can’t perform that action at this time.
0 commit comments