Add config page (#49)
This commit is contained in:
1 parent
87e83f3432
commit
bf01192bd2
786 files changed
+30678
-24247
No files matched your search
@@ -3,6 +3,8 @@ export const ROUTE_INDEX = 'index';
|
||||
export const ROUTE_AUTH_LOGIN = 'auth-login';
|
||||
export const ROUTE_AUTH_CALLBACK = 'auth-callback';
|
||||
|
||||
export const ROUTE_SITE_INDEX = 'site-index';
|
||||
|
||||
export const ROUTE_CHAT_CONVERSATION = 'chat-conversation';
|
||||
export const ROUTE_CHAT_CONVERSATION_NEW = 'chat-conversation-new';
|
||||
|
||||
|
||||
+3
-1
@@ -6,6 +6,7 @@ import midjourney from './midjourney';
|
||||
import distribution from './distribution';
|
||||
import chatdoc from './chatdoc';
|
||||
import qrart from './qrart';
|
||||
import site from './site';
|
||||
|
||||
import { ROUTE_CHAT_CONVERSATION_NEW, ROUTE_INDEX } from './constants';
|
||||
import { DEFAULT_LOCALE, setI18nLanguage } from '@/i18n';
|
||||
@@ -25,7 +26,8 @@ const routes = [
|
||||
chat,
|
||||
qrart,
|
||||
midjourney,
|
||||
distribution
|
||||
distribution,
|
||||
site
|
||||
];
|
||||
|
||||
const router = createRouter({
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
import { ROUTE_SITE_INDEX } from './constants';
|
||||
|
||||
export default {
|
||||
path: '/site',
|
||||
component: () => import('@/layouts/Main.vue'),
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
name: ROUTE_SITE_INDEX,
|
||||
component: () => import('@/pages/site/Index.vue')
|
||||
}
|
||||
]
|
||||
};
|
||||
Reference in new issue
Block a user