page-skeleton-webpack-plugin icon indicating copy to clipboard operation
page-skeleton-webpack-plugin copied to clipboard

Webpack plugin to generate the skeleton page automatically

Results 101 page-skeleton-webpack-plugin issues
Sort by recently updated
recently updated
newest added

粗略看了下源码,预览的时候不支持嵌套路由,醉了,在预览页直接就报错了,没法修改一些元素,看提交记录这个项目也没维护了,浪费我好些时间

| Q | A | ---------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | yes | New tests...

| Q | A | ---------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | New tests...

| Q | A | ---------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | New tests...

### Description 使用了一下,生成骨架屏各个元素块的高度都比实际页面小很多,这个应该怎么解决呢?

### Description begin to generator skeleton screen后报错Error: Evaluation failed: [object Object] at ExecutionContext._evaluateInternal (D:\go_code\src\dyblog\node_modules\[email protected]@puppeteer\lib\ExecutionContext.js:122:13) at process._tickCallback (internal/process/next_tick.js:68:7) -- ASYNC -- at ExecutionContext. (D:\go_code\src\dyblog\node_modules\[email protected]@puppeteer\lib\helper.js:111:15) at DOMWorld.evaluate (D:\go_code\src\dyblog\node_modules\[email protected]@puppeteer\lib\DOMWorld.js:112:20) at process._tickCallback (internal/process/next_tick.js:68:7) --...

[ ![image](https://user-images.githubusercontent.com/42674172/58700706-69ed2c80-83d3-11e9-9df4-d2c3c6ab6688.png) ](url)

| Q | A | ---------------- | --- | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | New tests...

### Description 请问,骨架图生成的元素有什么要求,因为在首页的aside没有骨架,我的首页: ``` ``` 这里只有m-swiper、article-list生成骨架 ### Plugin configration configureWebpack: { plugins: [ new SkeletonPlugin({ pathname: resolve('shell'), // 用来存储 shell 文件的地址 staticDir: resolve('dist'), // 最好和 `output.path` 相同 routes: ['/'], //...