ElemeFE / ElemeFE/page-skeleton-webpack-plugin

vue-cli项目begin to generator skeleton screen后开始报错

Open
#37 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.8k
Forks
388
PR merge metrics
No merged PRs in 30d

Description

### Description

`
new SkeletonPlugin({
pathname: path.resolve(__dirname, `../index.html`), // the path to store shell file
staticDir: path.resolve(__dirname, '../static'), // the same as the `output.path`
routes: ['/home/find'], // Which routes you want to generate skeleton screen
defer:20000
}),
`
偶尔会提示生成成功 但是骨架屏是空白的
![tyd i 1p3yna c z v](https://user-images.githubusercontent.com/17528531/47334191-9f50cf80-d6b8-11e8-96b3-9b4fdf6f7449.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.