fix: remove unused TestView component and update style.css

This commit is contained in:
kur0nek-o
2024-02-27 10:45:29 +07:00
parent 3ad1f8fe27
commit 4d4edd92ec
3 changed files with 2 additions and 50 deletions

View File

@ -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