refactor main
This commit is contained in:
parent
b7b8eccef5
commit
c5226fec07
1 changed files with 9 additions and 10 deletions
19
src/main.ts
19
src/main.ts
|
@ -1,14 +1,13 @@
|
||||||
import './main.css'
|
import { createApp } from "vue";
|
||||||
|
import { createPinia } from "pinia";
|
||||||
|
|
||||||
import { createApp } from 'vue'
|
import App from "./App.vue";
|
||||||
import { createPinia } from 'pinia'
|
import router from "./router";
|
||||||
|
import "./main.css";
|
||||||
|
|
||||||
import App from './App.vue'
|
const app = createApp(App);
|
||||||
import router from './router'
|
|
||||||
|
|
||||||
const app = createApp(App)
|
app.use(createPinia());
|
||||||
|
app.use(router);
|
||||||
|
|
||||||
app.use(createPinia())
|
app.mount("#app");
|
||||||
app.use(router)
|
|
||||||
|
|
||||||
app.mount('#app')
|
|
||||||
|
|
Loading…
Reference in a new issue