This commit is contained in:
X1627315083
2025-01-16 10:53:33 +08:00
parent f9728336b3
commit a3ca957c87
2 changed files with 28 additions and 0 deletions

View File

@@ -23,6 +23,12 @@ const routes: Array<RouteRecordRaw> = [
meta:{enter:'all',},
component: _import('LoginPage')
},
{
path: '/test',
name: 'test1',
meta:{enter:'all',},
component: _import('test')
},
{
path: '/register',
name: 'register',

22
src/views/test.vue Normal file
View File

@@ -0,0 +1,22 @@
<template>
<div class='box'>
<tesst></tesst>
</div>
</template>
<script>
import { defineComponent} from "vue";
import tesst from "@/component/Canvas/test.vue";
export default defineComponent({
name: "test",
components:{
tesst
}
})
</script>
<style lang='less' scoped>
.box {
border: 1px solid #f00;
}
</style>