feat: client doc

This commit is contained in:
chenos 2022-06-14 10:56:29 +08:00
parent b033c7214a
commit e69257e346

View File

@ -0,0 +1,24 @@
import { resolveNocobasePackagesAlias } from '@nocobase/devtools/umiConfig';
import { defineConfig } from 'dumi';
export default defineConfig({
title: 'NocoBase',
// outputPath: `./docs/dist/${lang}`,
mode: 'site',
resolve: {
includes: ['./'],
},
// locales: [[lang, lang]],
hash: true,
logo: 'https://www.nocobase.com/images/logo.png',
navs: [
null,
{
title: 'GitHub',
path: 'https://github.com/nocobase/nocobase',
},
],
chainWebpack(config) {
resolveNocobasePackagesAlias(config);
},
});