0.1.0 • Published 6 years ago

umi-plugin-devhtml v0.1.0

Weekly downloads
6
License
-
Repository
github
Last release
6 years ago

umi-plugin-devHtml

Plugin to save a physical HTML file for umi dev.

Usage

Install

$ npm install --save umi-plugin-devHtml

Config via .umirc.js,

export default {
  plugins: ['umi-plugin-devHtml'],
}

Test via example

$ cd example
$ DEBUG=umi-plugin* CLEAR_CONSOLE=none umi dev

Then toggle the modifyHtml config in example/.umirc.js, and check the examples/pages/.umi/index.html.

Notice

  1. This plugin don't support MPA(multiple-page-application)