create router setup

import router in main.ts
This commit is contained in:
padreug 2025-02-02 17:17:41 +01:00
parent 9894c467a6
commit 0c6844cbef
2 changed files with 31 additions and 1 deletions

View file

@ -1,5 +1,8 @@
import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import './assets/index.css'
createApp(App).mount('#app')
const app = createApp(App)
app.use(router)
app.mount('#app')