dumi-theme-legecy
TypeScript icon, indicating that this package has built-in type declarations

0.1.8 • Public • Published

dumi-theme-legecy

NPM version NPM downloads

A theme package for the dumi framework.

A Dumi 1.x theme for Dumi 2.0, Base on dumi-theme-default, this project is work in progress.

基于2.x的默认主题修改的1.x主题,只修改了部分样式. WIP image

Usage

Install this theme into devDependencies:

$ pnpm add dumi-theme-legecy -D

That's all, now you can execute dumi dev and enjoy this theme.

Options

TODO

Development

$ pnpm install

After 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:

# switch to example directory
$ cd example

# start dev server to preview
npm run dev

Note: all Node.js-runtime files should be put into src/plugin directory, father-plugin-dumi-theme will transform them to CommonJS dist automatically.

dumi theme development documentation: https://d.umijs.org/theme

LICENSE

MIT

Readme

Keywords

Package Sidebar

Install

npm i dumi-theme-legecy

Weekly Downloads

0

Version

0.1.8

License

MIT

Unpacked Size

126 kB

Total Files

96

Last publish

Collaborators

  • vincent-x