Skip to content

nocobase/dumi-theme-nocobase

Repository files navigation

dumi-theme-nocobase

AntD site theme package for the dumi framework fork from dumi-theme-antd.

NPM version NPM downloads Deploy

Usage

npm install dumi-theme-nocobase -D

.dumirc.ts config:

import { defineConfig } from 'dumi';
import { defineThemeConfig } from 'dumi-theme-nocobase';

export default defineConfig({
  // ....
  themeConfig: defineThemeConfig({})
});

Develop

Install & Run

git clone https://github.com/nocobase/dumi-theme-nocobase
npm install
yarn docs

link to your project

if you want to use this theme in your project and you want fix bug, you can link to your project.

yarn dev # watch model
yarn link # link to global
cd your-project && yarn link dumi-theme-nocobase # link to your project

Publish to npm

  1. change package.json version
  2. change example/docs/guide/changelog.zh-CN.md add changelog
  3. add new release version, and CI will publish to npm

LICENSE

MIT