ElemeFE / ElemeFE/page-skeleton-webpack-plugin
无法呼出交互接面
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 388
- PR merge metrics
- No merged PRs in 30d
Description
1. 系统:windows10,浏览器chrome 69.0.3497,
2. 项目使用了create-react-app的webpack4版本以及config-overrides扩展内置配置, skeletonPlugin 配置如下:
const skeletonPlugin = () => {
new SkeletonPlugin({
pathname: path.resolve(__dirname, `./shell`), // the path to store shell file
staticDir: path.resolve(__dirname, './build'), // the same as the `output.path`
routes: ['/'], // Which routes you want to generate skeleton screen
port: '8989',
loading: 'chiaroscuro',
})
}
package种script配置:"start": "npm-run-all -p watch-css start-js",
3. 问题描述:
项目启动后在页面直用ctrl+enter无效,在控制台数据toggleBar提示:Uncaught ReferenceError: toggleBar is not defined,并没有看到插件交互界面,是不是除了该插件浏览器还需要安装什么工具
4. PS:实例也无法启动,包output.path这个是个undefined
Contributor guide
Assessment
This issue has not been assessed yet.