ElemeFE / ElemeFE/page-skeleton-webpack-plugin
Skeleton will be removed when Vue root is mounted, however, ajax data has not yet been acquired.
Open
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 388
- PR merge metrics
- No merged PRs in 30d
Description
### Description
采取将骨架屏预先插入html中的骨架屏方案,那骨架屏在Vue根实例挂载完就消失,但是,此时ajax的数据还没获取到,这样会导致一小段时间的白屏,这里有什么方案解决呢。
Contributor guide
Research direction
No files, tests, or entry points are identified. Reproduce the timing between Vue root mounting and AJAX completion in a generated skeleton page, then inspect the plugin's generated HTML and lifecycle behavior; done means the skeleton does not disappear before the data-backed page is ready, avoiding the reported blank interval.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, webpack
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100