feature: Add vue-router

This commit is contained in:
2023-10-07 18:09:51 -06:00
parent 9957f888f7
commit 386e3d1e55
8 changed files with 68 additions and 24 deletions

View File

@@ -1,5 +1,13 @@
import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
createApp(App).mount('#app')
const app = createApp(App);
app.use(router);
router.isReady().then(() => {
app.mount('#app');
})