没有合适的资源?快使用搜索试试~ 我知道了~
router:用于URL路由的Storeon模块
共29个文件
json:4个
md:4个
js:4个
需积分: 5 0 下载量 57 浏览量
2021-05-14
13:15:20
上传
评论
收藏 183KB ZIP 举报
温馨提示
Storeon路由器 Router解决了路由问题,同时无缝地提供了完全控制。 它的大小是577个字节(最小化并压缩),并使用来控制大小。 import { createStoreon } from 'storeon' import { createRouter , routerChanged , routerKey , routerNavigate } from '@storeon/router' const store = createStoreon ( [ createRouter ( [ [ '/' , ( ) => ( { page : 'home' } ) ] , [ '/blog' , ( ) => ( { page : 'blog' } ) ] , [ '/blog/post/*' , ( id ) => ( { page : 'post'
资源推荐
资源详情
资源评论
收起资源包目录
router-master.zip (29个子文件)
router-master
.gitignore 68B
package.json 2KB
LICENSE 1KB
index.js 3KB
CHANGELOG.md 615B
.github
workflows
ci.yml 686B
cd.yml 410B
examples
vanilla
index.html 681B
index.ts 585B
svelte
package.json 113B
src
store.js 222B
index.js 120B
Child.svelte 238B
index.html 184B
App.svelte 170B
README.md 308B
react
package.json 227B
src
components.tsx 293B
index.html 189B
index.tsx 135B
App.tsx 2KB
tsconfig.json 442B
README.md 193B
README.md 2KB
.npmignore 102B
test
index.test.js 7KB
.editorconfig 147B
yarn.lock 436KB
index.d.ts 973B
共 29 条
- 1
资源评论
无分别
- 粉丝: 22
- 资源: 4574
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功