没有合适的资源?快使用搜索试试~ 我知道了~
rooted:以正确的方式要求modulesfoldersfiles
共9个文件
js:4个
yml:1个
makefile:1个
需积分: 8 0 下载量 199 浏览量
2021-05-05
13:52:31
上传
评论
收藏 4KB ZIP 举报
温馨提示
根 以正确的方式要求模块/文件夹/文件 安装 npm i rooted --save 用法 ////// bad var data = require ( '../../../../data.json' ) ; var helpers = require ( '../../../helpers' ) ; ///// good // will build the path starting from the root directory of your application // and require the respective file/folder/module var rooted = require ( 'rooted' ) ; var data = rooted ( 'data.json' ) ; var helpers = rooted ( 'helpers
资源推荐
资源详情
资源评论
收起资源包目录
rooted-master.zip (9个子文件)
rooted-master
.travis.yml 184B
example
folder
index.js 68B
index.js 62B
index.js 417B
package.json 777B
test
index.spec.js 779B
.gitignore 48B
Makefile 316B
README.md 1KB
共 9 条
- 1
资源评论
菊次郎的回南天
- 粉丝: 41
- 资源: 4565
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功