1 Star 0 Fork 538

hiwolf / NocoBase

forked from Uber Endung / NocoBase 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.umirc.ts 1021 Bytes
一键复制 编辑 原始数据 按行查看 历史
chenos 提交于 2021-10-01 23:31 . feat: improve code
import { defineConfig } from 'dumi';
console.log('process.env.API_URL', process.env.API_URL)
export default defineConfig({
title: ' ',
hash: true,
define: {
'process.env.API_URL': process.env.API_URL,
'process.env.API_HOSTNAME': process.env.API_HOSTNAME,
},
proxy: {
'/api': {
'target': `http://localhost:${process.env.API_PORT}/`,
'changeOrigin': true,
'pathRewrite': { '^/api/': '/api/' },
},
},
// mfsu: {},
// ssr: {},
// exportStatic: {},
mode: 'doc',
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
});
TypeScript
1
https://gitee.com/hiwolf/nocobase.git
git@gitee.com:hiwolf/nocobase.git
hiwolf
nocobase
NocoBase
develop

搜索帮助