feat(router): 使用 vue-router

This commit is contained in:
BTMuli
2023-03-05 17:00:45 +08:00
parent a47e0c92c4
commit c42ca01fa7
7 changed files with 75 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
import { createApp } from "vue";
import "./styles.css";
import App from "./App.vue";
// 路由
import router from "./router";
createApp(App).mount("#app");
createApp(App).use(router).mount("#app");