- install deps
$ pnpm installafter the dependencies are installed, a symlink from example/.dumi/theme to ../../src will be created automatically, the symlink makes dumi load our theme package as a local theme, so we can start the example directly, HMR is also available!
- dev
$ pnpm run devopen http://localhost:8000 to debug u feature
Note: all Node.js-runtime files should be put into
src/plugindirectory,father-plugin-dumi-themewill transform them to CommonJS dist automatically.