0.2.7 • Published 2 months ago

dumi-theme-vite v0.2.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

dumi-theme-vite

NPM version NPM downloads GitHub Repo stars

A theme package similar in appearance to Vite Document for the dumi framework.

Usage

Install this theme into devDependencies:

$ npm i dumi-theme-vite -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

$ 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

0.2.7

2 months ago

0.2.6

10 months ago

0.2.5

10 months ago

0.0.20

1 year ago

0.0.21

1 year ago

0.1.0

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.0.19

1 year ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.5

1 year ago

0.0.1

2 years ago