vue-skeleton-webpack-plugin
vue-skeleton-webpack-plugin copied to clipboard
Lavas webpack plugin: skeleton solution for PWA webshell
![image](https://user-images.githubusercontent.com/3703970/140462900-e925ee3e-a66c-449a-a284-0b465ce6b1b6.png) 相应版本: "vue": "^2.6.14", "vue-loader": "^15.9.8", "vue-skeleton-webpack-plugin": "^1.2.2", "webpack": "^4.46.0" "vue-server-renderer": "^2.6.14", "vue-style-loader": "^3.0.1", "vue-template-compiler": "^2.5.2", "webpack-bundle-analyzer": "^2.9.0", "webpack-cli": "^4.9.1", "webpack-dev-server": "^4.4.0", 求帮看下哪里的问题
vue、vue-server-renderer版本不匹配问题 yarn 安装就会报错
![image](https://user-images.githubusercontent.com/21697518/91445133-5071b380-e8a8-11ea-8e31-cce0800905ce.png) ![image](https://user-images.githubusercontent.com/21697518/91445137-52d40d80-e8a8-11ea-8a0a-93fda615db69.png)
目前遇到的问题是骨架屏展示结束之后,页面还是要去请求数据,还是会有一段时间的白屏效果
![image](https://user-images.githubusercontent.com/22912806/65593402-fb0b9300-dfc2-11e9-9c23-55ceec504e7e.png) ![image](https://user-images.githubusercontent.com/22912806/65593340-d9aaa700-dfc2-11e9-8546-db81ef7baf66.png)
![image](https://user-images.githubusercontent.com/38104555/95854723-e5156f80-0d89-11eb-9fb3-ae1e40516f48.png) ![image](https://user-images.githubusercontent.com/38104555/95854656-d16a0900-0d89-11eb-9407-d145170dbff2.png)
html-webpack-plugin版本号为4.4.1打包就会一直报错 VueSkeletonWebpackPlugin must be placed after HtmlWebpackPlugin in `plugins`. 即使把new VueSkeletonWebpackPlugin 放在HtmlWebpackPlugin之后也同样报错,很是纠结。 结果把html-webpack-plugin版本号降到3.2.0又正常了。题主可以坐下兼容性解决吗?
webpack 版本: 4.26.0 webpack-chain 版本: 5.0.1 报错日志如下: ` VueSkeletonWebpackPlugin must be placed after HtmlWebpackPlugin in `plugins` ` 通过 _webpack-chain_ 的 _toString_ 打印出的 解析 VueSkeletonWebpackPlugin 的确在 HtmlWebpackPlugin后面(在webpack 配置中通过chainwebpack 的 after 指定顺序),解析结构片段如下:...