This commit is contained in:
李志鹏
2026-04-20 14:02:55 +08:00
parent 1603377d81
commit bed2611362
2 changed files with 17 additions and 10 deletions

View File

@@ -10,16 +10,11 @@ const router = createRouter({
history: createWebHistory('/'),
// history: createWebHistory(import.meta.env.VITE_APP_URL),
routes: [
// {
// path: '/',
// redirect: '/welcome'
// },
// {
// path: '/asistant',
// name: 'asistant',
// component: () => import('../views/asistant/index.vue'),
// meta: { cache: true, verify: () => VerifyIDs(2) }
// },
{
path: '/',
name: 'home',
component: () => import('../views/home/index.vue'),
},
{
path: '/:pathMatch(.*)',

12
src/views/home/index.vue Normal file
View File

@@ -0,0 +1,12 @@
<template>
<div class="home-index">home</div>
</template>
<script setup lang="ts">
import { computed } from 'vue'
</script>
<style lang="less">
.home-index {
}
</style>