11
This commit is contained in:
@@ -10,16 +10,11 @@ const router = createRouter({
|
|||||||
history: createWebHistory('/'),
|
history: createWebHistory('/'),
|
||||||
// history: createWebHistory(import.meta.env.VITE_APP_URL),
|
// history: createWebHistory(import.meta.env.VITE_APP_URL),
|
||||||
routes: [
|
routes: [
|
||||||
// {
|
{
|
||||||
// path: '/',
|
path: '/',
|
||||||
// redirect: '/welcome'
|
name: 'home',
|
||||||
// },
|
component: () => import('../views/home/index.vue'),
|
||||||
// {
|
},
|
||||||
// path: '/asistant',
|
|
||||||
// name: 'asistant',
|
|
||||||
// component: () => import('../views/asistant/index.vue'),
|
|
||||||
// meta: { cache: true, verify: () => VerifyIDs(2) }
|
|
||||||
// },
|
|
||||||
|
|
||||||
{
|
{
|
||||||
path: '/:pathMatch(.*)',
|
path: '/:pathMatch(.*)',
|
||||||
|
|||||||
12
src/views/home/index.vue
Normal file
12
src/views/home/index.vue
Normal 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>
|
||||||
Reference in New Issue
Block a user