加载某个模块,其实是加载该模块的module.exports属性。 1.针对CommonJs: 使用步骤:. (1)使用module.exports导出模块:. 新建一个文件demo.js,通过 ...
確定! 回上一頁