init
This commit is contained in:
23
web/packages/constants/src/core.ts
Normal file
23
web/packages/constants/src/core.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* @zh_CN 登录页面 url 地址
|
||||
*/
|
||||
export const LOGIN_PATH = '/auth/login';
|
||||
|
||||
export interface LanguageOption {
|
||||
label: string;
|
||||
value: 'en-US' | 'zh-CN';
|
||||
}
|
||||
|
||||
/**
|
||||
* Supported languages
|
||||
*/
|
||||
export const SUPPORT_LANGUAGES: LanguageOption[] = [
|
||||
{
|
||||
label: '简体中文',
|
||||
value: 'zh-CN',
|
||||
},
|
||||
{
|
||||
label: 'English',
|
||||
value: 'en-US',
|
||||
},
|
||||
];
|
||||
2
web/packages/constants/src/index.ts
Normal file
2
web/packages/constants/src/index.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export * from './core';
|
||||
export * from '@vben-core/shared/constants';
|
||||
Reference in New Issue
Block a user