add admin page and welcome page

This commit is contained in:
RockYang
2023-04-27 18:46:45 +08:00
parent 6409531ee4
commit 82d097cb4a
5 changed files with 331 additions and 9 deletions

View File

@@ -9,6 +9,7 @@ import NotFound from './views/404.vue'
import TestPage from './views/Test.vue'
import Home from "@/views/Home.vue";
import ChatFree from "@/views/ChatFree.vue";
import Admin from "@/views/Admin.vue";
const routes = [
{
@@ -26,16 +27,22 @@ const routes = [
title: 'ChatGPT-Plus for Mobile'
}
},
{
name: 'test', path: '/test', component: TestPage, meta: {
title: '测试页面'
}
},
{
name: 'free', path: '/free', component: ChatFree, meta: {
title: 'Chat-Plus AI 助理'
}
},
{
name: 'admin', path: '/admin', component: Admin, meta: {
title: 'Chat-Plus 控制台'
}
},
{
name: 'test', path: '/test', component: TestPage, meta: {
title: '测试页面'
}
},
{
name: 'NotFound', path: '/:all(.*)', component: NotFound, meta: {
title: '页面没有找到'