From e69257e346b56c5b8f190d61547ecabaa71bbc4c Mon Sep 17 00:00:00 2001 From: chenos Date: Tue, 14 Jun 2022 10:56:29 +0800 Subject: [PATCH] feat: client doc --- packages/core/client/.umirc.ts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 packages/core/client/.umirc.ts diff --git a/packages/core/client/.umirc.ts b/packages/core/client/.umirc.ts new file mode 100644 index 000000000..019b107fe --- /dev/null +++ b/packages/core/client/.umirc.ts @@ -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); + }, +});