🎨 build framework completed
This commit is contained in:
16
src/main.ts
16
src/main.ts
@@ -1,5 +1,15 @@
|
||||
import { createApp } from 'vue'
|
||||
import './style.css'
|
||||
import {createApp} from 'vue'
|
||||
import App from './App.vue'
|
||||
import '@/assets/styles/variables.scss'
|
||||
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
|
||||
//Pinia
|
||||
import {createPinia, Pinia} from 'pinia'
|
||||
import router from "@/router/router.ts";
|
||||
|
||||
createApp(App).mount('#app')
|
||||
const pinia: Pinia = createPinia()
|
||||
pinia.use(piniaPluginPersistedstate)
|
||||
|
||||
createApp(App)
|
||||
.use(router)
|
||||
.use(pinia)
|
||||
.mount('#app')
|
||||
|
Reference in New Issue
Block a user