This repository was archived by the owner on Jul 15, 2024. It is now read-only.
v2.0.0
2.0.0 (2020-12-18)
Bug Fixes
- fix dispatching page with wrong configuration on sub router (7ae4a48)
- fix not waiting chunk load if chunk is custom chunk (304f67b)
Code Refactoring
- rename option
routerConfig
toconfig
(9b042b3)
Features
- add hashbang (#!/login hash routing) support (ed36300)
- added import promise component support, example:
import("./TestPage.svelte")
(1a895c9) - automatically define sub routers, just use
<Router/>
in sub routes (df58627)
BREAKING CHANGES
- The
routerConfig
option of Router component has renamed, useconfig
instead.