项目作者: prepair

项目描述 :
Just a playground for connect mod rewrite, which we use in our gulpfile (in tandem with webpack).
高级语言: JavaScript
项目地址: git://github.com/prepair/connect-modrewrite-sandbox.git
创建时间: 2017-02-06T15:39:21Z
项目社区:https://github.com/prepair/connect-modrewrite-sandbox

开源协议:

下载


Connect mod rewrite sandbox

Testing BrowserSync’s rewrite rules (using connect-modrewrite) can be a pain in the back,
this module uses the same mod rewriter and allows dynamic testing for the main project.

Usage

  • npm i
  • npm run dev (you can use the PORT env var, default is 4100)
  • open http://localhost:4100/test
  • or open a test url manually, for example: http://localhost:4100/hu-hu/profile