Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

单页面内页骨架图 #9

Closed
sunsl516 opened this issue May 21, 2018 · 2 comments
Closed

单页面内页骨架图 #9

sunsl516 opened this issue May 21, 2018 · 2 comments

Comments

@sunsl516
Copy link

你好,大概看了下文档自己跑了下 发现这种只针对首页生成骨架图吧,像单页面的内页这时候局部渲染的话这里面生成的骨架图好像就用不上吧,后面会有这种计划做内页骨架图吗

@Jocs
Copy link
Contributor

Jocs commented May 21, 2018

你好,大概看了下文档自己跑了下 发现这种只针对首页生成骨架图吧,

你好,现在是支持多路由,也就是说,对于 SPA,针对不同的路由页面生成静态路由页面,然后再向不同的静态路由页面插入不同路由的骨架屏。

像单页面的内页这时候局部渲染的话这里面生成的骨架图好像就用不上吧,后面会有这种计划做内页骨架图吗

这个应该指的是页面启动后,在获取后端数据时,局部的白屏吗?本项目只支持首页的骨架屏页面,后期我们会另外开一个项目,用于将 vue 或者 react 组件转化为骨架屏组件,这样在应用运行时就可以使用局部骨架屏了,不知道这是不是你所问的问题?

@sunsl516
Copy link
Author

@Jocs 嗯是的 就是这个意思

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants