Skip to content

Wss199mz/webpack-skeleton-dom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpack-skeleton-dom

webpack-skeleton-dom plugin insert dom by html-webpack-plugin hooks

Installation

The plugin is available via npm:

$ npm i webpack-skeleton-dom

Examples

var webpackSkeletonDom = require('webpack-skeleton-dom');
module.exports = {
 plugins: [
    // Other plugins.
    // WebpackClearConsole plugin removes all statements beginning with console.
    new webpackSkeletonDom(
      {
        skeletonHtml: '' // <div id="app"> ...skeleton </div>
      }
    )
  ]
}

About

移动端首页骨架屏生产方案

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published