没有合适的资源?快使用搜索试试~ 我知道了~
next-typed-path:为Next.js键入安全路径实用程序
共18个文件
ts:6个
js:4个
json:2个
需积分: 5 0 下载量 76 浏览量
2021-04-12
16:29:31
上传
评论
收藏 98KB ZIP 举报
温馨提示
下一类路径 为Next.js键入安全路径实用程序 安装 yarn add next-typed-path # or npm i -S next-typed-path 用法 import { $dynamic , $route , createRoutes } from 'next-typed-path' const routes = createRoutes ( { about : $route , users : { index : $route , '[userId]' : { index : $route , posts : { '[postId]' : { index : $route , } , } , settings : { index
资源推荐
资源详情
资源评论
收起资源包目录
next-typed-path-master.zip (18个子文件)
next-typed-path-master
lefthook.yml 426B
package.json 982B
jest.config.js 563B
LICENSE 1KB
src
utils.ts 275B
__tests__
create-routes.test.ts 1KB
symbols.ts 38B
create-routes.ts 1KB
types.ts 728B
index.ts 82B
.npmignore 192B
.eslintrc.js 545B
tsconfig.json 495B
jest.setup.js 23B
.gitignore 202B
.prettierrc.js 133B
README.md 1KB
yarn.lock 228KB
共 18 条
- 1
资源评论
BinaryBrewmaster
- 粉丝: 16
- 资源: 4598
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功