22285461@qq.com 5 miesięcy temu
rodzic
commit
63a20cfb0c
4 zmienionych plików z 26 dodań i 10 usunięć
  1. 1 1
      dist/assets/index-Bk4AuR7r.js
  2. 1 1
      dist/index.html
  3. 11 0
      src/components/Test.vue
  4. 13 8
      src/router.ts

Plik diff jest za duży
+ 1 - 1
dist/assets/index-Bk4AuR7r.js


+ 1 - 1
dist/index.html

@@ -5,7 +5,7 @@
     <link rel="icon" type="image/svg+xml" href="/vite.svg" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title>Vite + Vue + TS</title>
-    <script type="module" crossorigin src="/assets/index-D0E5jp3o.js"></script>
+    <script type="module" crossorigin src="/assets/index-Bk4AuR7r.js"></script>
     <link rel="stylesheet" crossorigin href="/assets/index-CECYgoG4.css">
   </head>
   <body>

+ 11 - 0
src/components/Test.vue

@@ -0,0 +1,11 @@
+<script setup lang="ts">
+
+</script>
+
+<template>
+  222
+</template>
+
+<style scoped>
+
+</style>

+ 13 - 8
src/router.ts

@@ -1,23 +1,28 @@
-
 import Home from "./components/Home.vue";
 import {createRouter, createWebHistory} from "vue-router";
 import ApplyUserInfo from "./components/ApplyUserInfo.vue";
+import Test from "./components/Test.vue";
 
 const routes = [
     {
-        path:"/",
-        name:"Home",
-        component:Home,
+        path: "/",
+        name: "Home",
+        component: Home,
+    },
+    {
+        path: "/applyUserInfo",
+        name: "ApplyUserInfo",
+        component: ApplyUserInfo,
     },
     {
-        path:"/applyUserInfo",
-        name:"ApplyUserInfo",
-        component:ApplyUserInfo,
+        path: "/test",
+        name: "Test",
+        component: Test,
     },
 ]
 
 const router = createRouter({
-    history:createWebHistory(),routes,
+    history: createWebHistory(), routes,
 })
 
 export default router;

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików