vue多路由骨架屏实现方案
京东dps 生成骨架屏 html + vue-skeleton-webpack-plugin 配置多路由
1.npm i draw-page-structure -g
2.npm install vue-skeleton-webpack-plugin -D
3.dps init生成配置文件,并修改
const path = require('path');
// 需要展示完成页面的地址,可以写本地调试地址
const url = 'https://www.baidu.com';
// 生成骨架屏的存放页面,一般为项目的入口页面
const filepath = path.join(__d