Refactor on main.js
parent
615c09a9c7
commit
c1284857e8
|
@ -126,7 +126,7 @@ router.beforeEach(function (to, from, next) {
|
|||
|
||||
const app = createApp(AppWrapper);
|
||||
|
||||
app.config.globalProperties.$appState = reactive({theme: 'lara-light-blue', darkTheme: false, codeSandbox: false, sourceType: 'options-api', newsActive: true, announcement: {}});
|
||||
app.config.globalProperties.$appState = reactive({theme: 'lara-light-blue', darkTheme: false, codeSandbox: false, sourceType: 'options-api', newsActive: process.env.NODE_ENV === 'production', announcement: {}});
|
||||
|
||||
app.use(PrimeVue, {ripple: true});
|
||||
app.use(ToastService);
|
||||
|
|
Loading…
Reference in New Issue