add: vue-router

This commit is contained in:
Tony Yang
2025-03-20 00:20:57 +08:00
parent bf37c39453
commit c95253aafe
6 changed files with 83 additions and 32 deletions
+8 -4
View File
@@ -1,5 +1,9 @@
import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
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);
app.mount('#app');