@@ -4,11 +4,11 @@ import { DEFAULT_HOME_PATH } from '@vben/constants';
44
55import { AuthPageLayout } from '#/layouts' ;
66import { $t } from '#/locales' ;
7- import Login from '#/views/_essential /authentication/login.vue' ;
7+ import Login from '#/views/_core /authentication/login.vue' ;
88
99/** 全局404页面 */
1010const fallbackNotFoundRoute : RouteRecordRaw = {
11- component : ( ) => import ( '#/views/_essential /fallback/not-found.vue' ) ,
11+ component : ( ) => import ( '#/views/_core /fallback/not-found.vue' ) ,
1212 meta : {
1313 hideInBreadcrumb : true ,
1414 hideInMenu : true ,
@@ -20,7 +20,7 @@ const fallbackNotFoundRoute: RouteRecordRaw = {
2020} ;
2121
2222/** 基本路由,这些路由是必须存在的 */
23- const essentialsRoutes : RouteRecordRaw [ ] = [
23+ const coreRoutes : RouteRecordRaw [ ] = [
2424 {
2525 meta : {
2626 title : 'Root' ,
@@ -42,47 +42,45 @@ const essentialsRoutes: RouteRecordRaw[] = [
4242 path : 'login' ,
4343 component : Login ,
4444 meta : {
45- title : $t ( 'page.essentials .login' ) ,
45+ title : $t ( 'page.core .login' ) ,
4646 } ,
4747 } ,
4848 {
4949 name : 'CodeLogin' ,
5050 path : 'code-login' ,
51- component : ( ) =>
52- import ( '#/views/_essential/authentication/code-login.vue' ) ,
51+ component : ( ) => import ( '#/views/_core/authentication/code-login.vue' ) ,
5352 meta : {
54- title : $t ( 'page.essentials .codeLogin' ) ,
53+ title : $t ( 'page.core .codeLogin' ) ,
5554 } ,
5655 } ,
5756 {
5857 name : 'QrCodeLogin' ,
5958 path : 'qrcode-login' ,
6059 component : ( ) =>
61- import ( '#/views/_essential /authentication/qrcode-login.vue' ) ,
60+ import ( '#/views/_core /authentication/qrcode-login.vue' ) ,
6261 meta : {
63- title : $t ( 'page.essentials .qrcodeLogin' ) ,
62+ title : $t ( 'page.core .qrcodeLogin' ) ,
6463 } ,
6564 } ,
6665 {
6766 name : 'ForgetPassword' ,
6867 path : 'forget-password' ,
6968 component : ( ) =>
70- import ( '#/views/_essential /authentication/forget-password.vue' ) ,
69+ import ( '#/views/_core /authentication/forget-password.vue' ) ,
7170 meta : {
72- title : $t ( 'page.essentials .forgetPassword' ) ,
71+ title : $t ( 'page.core .forgetPassword' ) ,
7372 } ,
7473 } ,
7574 {
7675 name : 'Register' ,
7776 path : 'register' ,
78- component : ( ) =>
79- import ( '#/views/_essential/authentication/register.vue' ) ,
77+ component : ( ) => import ( '#/views/_core/authentication/register.vue' ) ,
8078 meta : {
81- title : $t ( 'page.essentials .register' ) ,
79+ title : $t ( 'page.core .register' ) ,
8280 } ,
8381 } ,
8482 ] ,
8583 } ,
8684] ;
8785
88- export { essentialsRoutes , fallbackNotFoundRoute } ;
86+ export { coreRoutes , fallbackNotFoundRoute } ;
0 commit comments