mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 21:26:59 +00:00
c68caf105e
* feat(markdown): support Mermaid and better style * fix: img width * fix: build problem * feat: dynamic import * feat: loading --------- Co-authored-by: chenos <chenlinxh@gmail.com>
25 lines
543 B
TypeScript
25 lines
543 B
TypeScript
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(memo) {
|
|
resolveNocobasePackagesAlias(memo);
|
|
},
|
|
});
|