path.resolve()理解_happy_wealthy的博客-CSDN博客_python resolve函数1、path.resolve()作用:path.resolve() 该方法将一些的 路径/路径段 解析为绝对路径。语法:path.resolve( [from…],to )说明:将参数to位置的字符解析到一个绝对路径里,[from … ]为选填项,路径源;用法:var path = require("path") //引入node的path模块path.resolve('/foo/bar', './baz') // returns '/foo/bar/baz'path.resolhttps://blog.csdn.net/happy_wealthy/article/details/118304378概念 | webpack 中文网https://www.webpackjs.com/concepts/ vscode中settings.json配置files.associations
"files.associations":{
"*.aos":"javascript", // 后缀为aos的文件作为js文件展示
}
对象的key值实现动态生成
对象 = {
[key] : value; // key为变量
key : value; // key为常量
}