27 lines
466 B
Vue
27 lines
466 B
Vue
<template>
|
|
<h1>vue-pinia 模板</h1>
|
|
<h1>成功</h1>
|
|
<ul>
|
|
<li v-for="(route, index) in pageRoutes" :key="index">
|
|
<RouterLink :to="route.path">{{ `${route.path}【${String(route.name)}】` }}</RouterLink>
|
|
</li>
|
|
</ul>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { pageRoutes } from '@/router/module/pageRoutes';
|
|
</script>
|
|
<style scoped lang="scss">
|
|
ul {
|
|
padding-left: 50px;
|
|
|
|
li {
|
|
list-style: circle !important;
|
|
}
|
|
|
|
a {
|
|
color: #8185a7;
|
|
}
|
|
}
|
|
</style>
|