2021-04-17 21:33:21 +08:00
|
|
|
import { defineConfig } from 'dumi';
|
|
|
|
|
2021-07-24 16:37:13 +08:00
|
|
|
console.log('process.env.API_URL', process.env.API_URL)
|
|
|
|
|
2021-04-17 21:33:21 +08:00
|
|
|
export default defineConfig({
|
|
|
|
title: ' ',
|
|
|
|
hash: true,
|
2021-07-23 18:26:05 +08:00
|
|
|
define: {
|
|
|
|
'process.env.API_URL': process.env.API_URL,
|
|
|
|
},
|
2021-09-11 18:53:26 +08:00
|
|
|
includes: ['docs'],
|
2021-08-16 12:36:17 +08:00
|
|
|
// mfsu: {},
|
2021-05-23 08:38:08 +08:00
|
|
|
// ssr: {},
|
|
|
|
// exportStatic: {},
|
2021-09-11 18:53:26 +08:00
|
|
|
mode: 'doc',
|
2021-04-17 21:33:21 +08:00
|
|
|
logo: 'https://www.nocobase.com/dist/images/logo.png',
|
|
|
|
navs: {
|
|
|
|
'en-US': [
|
|
|
|
null,
|
|
|
|
{ title: 'GitHub', path: 'https://github.com/nocobase/nocobase' },
|
|
|
|
{ title: 'Changelog', path: 'https://github.com/nocobase/nocobase/releases' },
|
|
|
|
],
|
|
|
|
'zh-CN': [
|
|
|
|
null,
|
|
|
|
{ title: 'GitHub', path: 'https://github.com/nocobase/nocobase' },
|
|
|
|
{ title: '更新日志', path: 'https://github.com/nocobase/nocobase/releases' },
|
|
|
|
],
|
|
|
|
},
|
|
|
|
// more config: https://d.umijs.org/config
|
|
|
|
});
|