2FAuth/resources/js_vue3/app.js

26 lines
611 B
JavaScript
Raw Normal View History

import '/resources/js_vue3/assets/app.scss';
import { createApp } from 'vue'
// import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
2023-09-21 17:10:12 +02:00
import Notifications from '@kyvg/vue3-notification'
const app = createApp(App)
2023-09-22 11:32:24 +02:00
// Immutable app properties provided by the laravel blade view
app.config.globalProperties.$2fauth = {
config: window.appConfig,
version: window.appVersion,
isDemoApp: window.isDemoApp,
isTestingApp: window.isTestingApp,
langs: window.appLocales
}
// app.use(createPinia())
app.use(router)
2023-09-21 17:10:12 +02:00
app.use(Notifications)
app.mount('#app')