-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
config.ts
27 lines (23 loc) · 713 Bytes
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { loadEnv } from 'vite';
process.env = { ...process.env, ...loadEnv('all', process.cwd()) };
enum LayoutType {
MIX = 'mix',
TOP = 'top',
SIDE = 'side',
}
const CONFIG = {
appName: process.env.VITE_APP_NAME || 'Reforge',
enablePWA: process.env.VITE_ENABLE_PWA === 'true',
theme: {
accentColor: process.env.VITE_THEME_ACCENT_COLOR || '#18181b',
sidebarLayout: process.env.VITE_THEME_SIDEBAR_LAYOUT || LayoutType.TOP,
showBreadcrumb: process.env.VITE_SHOW_BREADCRUMB === 'true',
},
metaTags: {
title: 'Reforge',
description:
'An out-of-box UI solution for enterprise applications as a React boilerplate.',
imageURL: 'logo.svg',
},
};
export default CONFIG;