page-skeleton-webpack-plugin icon indicating copy to clipboard operation
page-skeleton-webpack-plugin copied to clipboard

本地项目服务器一定要用webpack-dev-server吗

Open zj0715zh opened this issue 6 years ago • 7 comments

今天碰到一个问题,就是我本地项目是用express起的,结合page-skeleton-webpack-plugin之后就一直报端口错误,我确信端口是没有冲突的

zj0715zh avatar May 21 '18 07:05 zj0715zh

@zj0715zh page skeleton 这个插件支持配置 port 的。你可以配置一个不冲突的端口号,尝试下?

Jocs avatar May 21 '18 07:05 Jocs

这个插件里说的支持多路由,是指多页面的多路由,还是单页面的多路由

zj0715zh avatar May 22 '18 09:05 zj0715zh

@zj0715zh 单页面的多路由

Jocs avatar May 22 '18 09:05 Jocs

像这样的路由该怎么配置到骨架路由里呢http://47.89.249.180:8384/module/cms.html#/orderManage

zj0715zh avatar May 22 '18 10:05 zj0715zh

现在只支持 history 模式的,暂时不支持 hash 模式 。你们项目中采用的 hash 模式的路有吗?你可以提交一个 feature request 的 issue 希望支持 hash 模式的路由。

Jocs avatar May 22 '18 10:05 Jocs

@Jocs 那hashHistory呢?。。支持吗?

heath-l avatar May 25 '18 02:05 heath-l

@heath-l

现在只支持 history 模式的,暂时不支持 hash 模式 。你们项目中采用的 hash 模式的路有吗?你可以提交一个 feature request 的 issue 希望支持 hash 模式的路由。

Jocs avatar May 25 '18 02:05 Jocs