学习vue-router组件!!!

This commit is contained in:
2022-11-24 01:54:33 +08:00
parent 8424ca7203
commit c5e743706d
15 changed files with 19629 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<!--
* @Author: Kane
* @Date: 2022-11-24 01:18:18
* @LastEditors: Kane
* @LastEditTime: 2022-11-24 01:21:20
* @FilePath: \hello-router\src\components\功能页面\demo-1.vue
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<template>
<h1>{{ title }}</h1>
</template>
<script>
export default {
name: "demo-1",
data() {
return {
title: "测试router-1",
};
},
};
</script>
<style scoped>
</style>

View File

@@ -0,0 +1,25 @@
<!--
* @Author: Kane
* @Date: 2022-11-24 01:20:58
* @LastEditors: Kane
* @LastEditTime: 2022-11-24 01:22:30
* @FilePath: \hello-router\src\components\功能页面\demo-2.vue
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
-->
<template>
<h1>{{ title }}</h1>
</template>
<script>
export default {
name: "demo-2",
data() {
return {
title: "测试页面-2",
};
},
};
</script>
<style scoped>
</style>