page-skeleton-webpack-plugin
page-skeleton-webpack-plugin copied to clipboard
预览界面一直loading,加载不出页面
配置: 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
})
]
我也是预览页面一直loading,加载不出页面。请问解决了吗?