mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-14 09:38:13 +08:00
feat(router): 使用 vue-router
This commit is contained in:
13
src/pages/Config.vue
Normal file
13
src/pages/Config.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<h1>设置页面</h1>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from "vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "Config",
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="css"></style>
|
||||
13
src/pages/Home.vue
Normal file
13
src/pages/Home.vue
Normal file
@@ -0,0 +1,13 @@
|
||||
<template>
|
||||
<h1>首页</h1>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from "vue";
|
||||
|
||||
export default defineComponent({
|
||||
name: "Home",
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="css"></style>
|
||||
Reference in New Issue
Block a user