Skip to content

Logic-Flow/dumi-theme-simple

Repository files navigation

@logicflow/dumi-theme-simple

NPM version NPM downloads

A theme package for the dumi framework.

Usage

Install this theme into devDependencies:

$ npm i @logicflow/dumi-theme-simple -D

Configure it in dumi config file .dumirc.ts:

import { defineConfig } from 'dumi';

export defineConfig({
  themeConfig: {
    ...
  },
});

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

Options

TODO

Development

$ npm 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:

# build project
pnpm run build

# switch to example directory
$ cd example

# downloads the dependencies
npm install

# start dev server to preview
npm run dev

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

LICENSE

MIT

About

适用于 LogicFlow 的简易版自定义主题

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages