File tree Expand file tree Collapse file tree 2 files changed +3
-93
lines changed Expand file tree Collapse file tree 2 files changed +3
-93
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Please consider starring the project to show your ❤️ and support.
1313
1414## Introduction
1515
16- Display webpack building progress in the browser.
16+ Webpack terminal information to browser.
1717
1818** _ This plugin is recommended for webpack-based app bundler._ **
1919
@@ -23,6 +23,8 @@ Display webpack building progress in the browser.
2323yarn add loading-screen -D
2424```
2525
26+ Using poi? Go [ poi-plugin-loading-screen] ( https://github.com/evillt/poi-plugin-loading-screen )
27+
2628## Usage
2729
2830In your ` webpack.config.js ` :
@@ -35,43 +37,6 @@ module.exports = {
3537}
3638```
3739
38- ## Frameworks Support
39-
40- ### poi
41-
42- In your ` poi.config.js ` :
43-
44- ``` js
45- module .exports = {
46- plugins: [' loading-screen/poi' ]
47- }
48- ```
49-
50- ### vue/cli
51-
52- Recommended to use it in ` vue.config.js ` :
53-
54- > Because vue/cli exposed plugin api is not as much as poi.
55-
56- ``` js
57- const LoadingScreenPlugin = require (' loading-screen' )
58-
59- module .exports = {
60- chainWebpack (config ) {
61- config .plugin (' loading-screen' ).use (LoadingScreenPlugin, [
62- {
63- logo: ' https://vuejs.org/images/logo.png' , // vue logo
64- theme: {
65- client: ' #4fc08d' // vue color
66- },
67- port: 8080 ,
68- callback () {}
69- }
70- ])
71- }
72- }
73- ```
74-
7540## API
7641
7742` new LoadingScreenPlugin(options) `
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments