20 lines
500 B
TypeScript
20 lines
500 B
TypeScript
import { createApp } from 'vue'
|
|
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
|
|
import './assets/css/style.css'
|
|
import App from './App.vue'
|
|
import i18n from './i18n'
|
|
import router from './router'
|
|
import { pinia } from './stores'
|
|
import { useThemeStore } from './stores/theme'
|
|
|
|
const app = createApp(App)
|
|
const themeStore = useThemeStore(pinia)
|
|
themeStore.initialize()
|
|
|
|
app.component('font-awesome-icon', FontAwesomeIcon)
|
|
app.use(pinia)
|
|
app.use(router)
|
|
app.use(i18n)
|
|
|
|
app.mount('#app')
|