Refactor on main.js

pull/2888/head
mertsincan 2022-08-23 11:15:12 +01:00
parent 615c09a9c7
commit c1284857e8
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ router.beforeEach(function (to, from, next) {
const app = createApp(AppWrapper); 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(PrimeVue, {ripple: true});
app.use(ToastService); app.use(ToastService);