Closed zhengyn0001 closed 5 years ago
configureWebpack: config => {
config.plugins = [
new HtmlWebpackPlugin({
filename: 'index.html',
template: 'public/index.html'
}),
new SkeletonPlugin({
pathname: resolve(./shell
), // 用来存储 shell 文件的地址
staticDir: resolve('../docker/dist/static/app/'), // 最好和 output.path
相同
routes: ['/'] // 将需要生成骨架屏的路由添加到数组中
}),
new VueLoaderPlugin()
]}
他突然就可以运行了,一开始还是会出现这个错,可是会自动显示按钮
Description
[Description of the bug or feature]
Steps to reproduce
Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Link to an example: [If you're reporting a bug that's not reproducible, please try to reproduce it on JSFiddle, JS Bin, CodePen or a similar service and paste a link here]
Plugin configration
for example:
Versions