Skip to content

生成骨架屏是空白 #35

Description

@kingzez

配置

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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions