provide SPA route's experience with native web component
NOTICE! this demo use `:defined` pseudo-class to avoid undefined element's inner content leak
BTW. you can use `disable-shadow` to disable shadowDOM
- common
- nest path: root
- nest path: root/all
- cache and drop
-
lazy demo
-
custom render demo, this could be use to render react/vue/other
render lib content
If you are in a local environment, you need to additionally run thepnpm run dev:democommand - append before
- append after
- loading status
common demo area
child before after
child append after
route container demo area
404