dumi theme for antv site
yarn add @antv/dumi-theme-antv --save-dev
Refer to the documentation for the Dumi theme
note *.module.less
is used in @antv/dumi-theme-antv
, extraBabelIncludes needs to be configured:
export default {
//...
mode: "site",
extraBabelIncludes: ["@antv/dumi-theme-antv"],
};
- start
@antv/dumi-theme-antv
- 1. git clone https://github.com/antvis/dumi-theme-antv.git
- 2. yarn // install deps
- 3. npm run start //start dev
- start demo of antv sub product site
- 1. npm link
- 2. cd site
- 3. note: remove `@antv/dumi-theme-antv` from `devDependencies` in `package.json`
- 4. yarn // install deps
- 5. npm link @antv/dumi-theme-antv
- 6. npm run start