ITADN

SPA without HTML5 routing

#40Pull Requestfsicre 创建于 2025-09-11
F
fsicrecommented
This commit should enable SPA without HTML5 routing. ex: ```html <p><a href="#/">home</a></p> <p><a href="#/logout">logout</a></p> <p><a href="#/image/123456?editor=true">edit image</a></p> ``` ```javascript import { createRouter } from "@nanostores/router"; export const $router = createRouter({ home: "/", image: "/image/:id", logout: "/logout", }, { html5: false }); ```
合并状态:未合并 关闭于 2025-09-11 1 条评论