1 Star 0 Fork 526

宇宙无敌酷 / NocoBase

forked from NocoBase / NocoBase 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.umirc.ts 1.86 KB
一键复制 编辑 原始数据 按行查看 历史
chenos 提交于 2021-12-03 12:30 . fix: ci failed
import { defineConfig } from 'dumi';
import { getUmiConfig } from './packages/utils/src/umiConfig';
process.env.MFSU_AD = 'none';
const umiConfig = getUmiConfig();
export default defineConfig({
title: 'NocoBase',
hash: true,
define: {
...umiConfig.define,
},
// only proxy when using `umi dev`
// if the assets are built, will not proxy
proxy: {
...umiConfig.proxy,
},
resolve: {
includes: ['docs', 'packages/client/src/schemas'],
},
styles: [
`
.__dumi-default-navbar-logo {
height: 100%;
width: 100px;
}
.__dumi-default-layout .__dumi-default-navbar {
box-shadow: 0 0 3px rgb(60 72 88 / 15%);
}
.__dumi-default-layout[data-site-mode='true'] {
padding-top: 150px !important;
}
@media only screen and (max-width: 767px) {
.__dumi-default-layout[data-site-mode="true"] {
padding-top: 128px !important;
}
}
@media only screen and (min-width: 768px) {
.__dumi-default-menu[data-mode='site'] {
top: 100px !important;
}
.__dumi-default-layout[data-site-mode='true'] .__dumi-default-layout-toc {
top: 150px !important;
}
}
video {
max-width: 800px;
width: 100%;
border-radius: 5px;
box-shadow: 0 8px 24px -2px rgb(0 0 0 / 5%);
}
`,
],
// mfsu: {},
// ssr: {},
// exportStatic: {},
mode: 'site',
logo: 'https://www.nocobase.com/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/xyzwangwen/nocobase.git
git@gitee.com:xyzwangwen/nocobase.git
xyzwangwen
nocobase
NocoBase
develop

搜索帮助

53164aa7 5694891 3bd8fe86 5694891