0.1.0 • Published 6 years ago
umi-plugin-devhtml v0.1.0
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
- This plugin don't support MPA(multiple-page-application)
0.1.0
6 years ago