通过在模块名称后包含路径后缀,可以要求与模块一起分发的特定文件或子模块。 例如, require('example-module/path/to/file') 将相对于 example-module 所在的位置解析 ...
確定! 回上一頁