-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
配置
const dpsConfig = {
url: 'https://baidu.com', // 待生成骨架屏页面的地址,用百度(https://baidu.com)试试也可以
output: {
filepath: '/Users/w/work/example/index1.html', // 生成骨架屏的存放页面,一般为项目的入口页面
injectSelector: '#app' // 生成的骨架屏插入页面的节点
},
background: '#eee',
animation: 'opacity 1s linear infinite;'
}
module.exports = dpsConfig;dps -v 1.0.8
dps start
skeleton screen has created and output to /Users/w/work/example/index1.html/Users/w/work/example/index1.html 内容
<html><head></head><body></body></html>Metadata
Metadata
Assignees
Labels
No labels