fix: remove unused TestView component and update style.css
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
import { createRouter, createWebHistory, type RouteRecordRaw } from 'vue-router'
|
||||
import { useAuthStore } from '@/stores/auth'
|
||||
import HomeView from '@/views/HomeView.vue'
|
||||
import TestView from '@/views/TestView.vue'
|
||||
import LoginView from '@/views/LoginView.vue'
|
||||
import NotFoundView from '@/views/NotFoundView.vue'
|
||||
import WelcomePage from '@/components/Pages/Welcome.vue'
|
||||
@ -696,11 +695,6 @@ export const routes: RouteRecordRaw[] = [
|
||||
name: 'Login',
|
||||
component: LoginView
|
||||
},
|
||||
{
|
||||
path: '/playground',
|
||||
name: 'Playground',
|
||||
component: TestView
|
||||
},
|
||||
{
|
||||
path: '/404',
|
||||
name: 'Not Found',
|
||||
@ -788,8 +782,8 @@ export const fixRoute = (route: RouteRecordRaw[]): RouteRecordRaw[] => {
|
||||
fullPath === '/home/'
|
||||
? ''
|
||||
: fullPath.includes('/home/')
|
||||
? fullPath.replace('/home/', '')
|
||||
: fullPath,
|
||||
? fullPath.replace('/home/', '')
|
||||
: fullPath,
|
||||
name: r.name,
|
||||
component: r.component
|
||||
} as RouteRecordRaw
|
||||
|
Reference in New Issue
Block a user