ElemeFE / ElemeFE/page-skeleton-webpack-plugin
预览界面一直loading,加载不出页面
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 388
- PR merge metrics
- No merged PRs in 30d
Description
配置: plugins: [
new HtmlWebpackPlugin(),
new SkeletonPlugin({
pathname: path.resolve(__dirname, './shell'), // the path to store shell file
staticDir: path.resolve(__dirname, './dist'), // the same as the `output.path`
routes: ['/', '/shop'], // Which routes you want to generate skeleton screen
})
]
Contributor guide
Research direction
Start by reproducing the preview loading problem with the provided HtmlWebpackPlugin and SkeletonPlugin configuration. Inspect the generated files under the configured shell and dist paths, and verify the '/' and '/shop' routes; done means the preview renders instead of remaining in a loading state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, webpack
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100