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

这个能根据不同的页面,配置不同的骨架屏的页面吗?怎么配置的

如题,安装这个鬼东西会卡住,依赖安装不能进行

你好,我在看这个项目的源码,这是您第一提交的代码,index.js里,我有一个问题,就是在下面代码里,我打断点都走不进去,我想知道您在写这个项目的时候是怎么做调试的 ``` const html = await page.evaluate((remove, excludes) => { const $ = document.querySelectorAll if (remove.length) { const removeEle = $(remove.join(',')) Array.from(removeEle).forEach(ele => ele.parentNode.removeChild(ele)) } const excludesEle = excludes.length ?...

1. 系统:windows10,浏览器chrome 69.0.3497, 2. 项目使用了create-react-app的webpack4版本以及config-overrides扩展内置配置, skeletonPlugin 配置如下: const skeletonPlugin = () => { new SkeletonPlugin({ pathname: path.resolve(__dirname, `./shell`), // the path to store shell file staticDir: path.resolve(__dirname, './build'), // the...

### Description [Description of the bug or feature] 看了之前关闭的issues,项目组好像有计划将vue 或者 react 组件转化为骨架屏组件,目前有这方面的进展么,特别是react部分的。

### Description ![image](https://user-images.githubusercontent.com/3975498/44405637-53848b80-a58c-11e8-85bb-ae3a3de4218e.png) ![image](https://user-images.githubusercontent.com/3975498/44405655-626b3e00-a58c-11e8-8e69-97b64dbbecb0.png) error,response.ok() false http://localhost:3000/static/js/bundle.js false ### Plugin configration for example: ```javascript new SkeletonPlugin({ pathname: path.resolve(__dirname, './shell'), // the path to store shell file staticDir: path.resolve(__dirname, './build'), //...

![1531182848 1](https://user-images.githubusercontent.com/30314164/42483022-a2f9ca8a-841d-11e8-96df-ebaa9ee48bc1.jpg)

今天碰到一个问题,就是我本地项目是用express起的,结合page-skeleton-webpack-plugin之后就一直报端口错误,我确信端口是没有冲突的

question

今天用demo项目跑了一下。发现生成的骨架页面平均大小都在80K左右( demo项目,结构和样式都还较少 ) 如果已有项目引入这些生成的骨架页面的话,那么整个项目的体积会增加很多倍。这样反而让项目在生产环境运行时变慢。 目前看来采用骨架页面的体积劣势远不如直接采用loading。想问下饿了么团队有准备优化方案么?

### Description [Description of the bug or feature] ### Steps to reproduce 1. [First step] 2. [Second step] 3. [and so on...] **Expected behavior:** [What you expected to happen] **Actual...