UNPKG
hm-react-cli
Version:
latest (1.1.4)
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Create a Huimei React project by module
hm-react-cli
/
package-modules
/
anujs
/
packages
/
router
/
readme.md
15 lines
(9 loc)
•
362 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
## ReachRouter
Reach
Router
的改造版 去掉一些高级的es6语法糖,让它最终编译后的代码量更少,兼容性更好 并且在
Router
组件上添加一个mode属性,值为
"history"
或
"hash"
,“hash“用于兼容
IE8
, 默认是“history” 依赖于anujs内部的createContext版本
``
` npm start `
``
选择 index8.html index9.html