compile工具

ES6

const config = { entry: "./src/main.js", output: { filename: "bundle.js", path: path.resolve(__dirname, 'dist') }, module: { rules: [ { test: /\.js$/, exclude: /node_modules/, loader: "babel-loader", options: [ presets: ["env"] ] } ] } }

typescript

 

promise怎么写

继承怎么写

 

其他异同

运行命令

vi /etc/profile

在文件的最后添加上:
export PATH="/你要的目录:$PATH"

保存和退出

最重要的是下面这步,运行命令

source /etc/profile
没报错则成功

posted on 2019-05-11 08:55  connie313  阅读(196)  评论(0编辑  收藏  举报