如何在node環境中,使用ES6

建立測試文件 mkdir test cd test npm init -y npm install --save-dev @babel/core @babel/cli @babel/preset-env @babel/node npm install --save @babel/polyfill touch babel.config.js touch index.js touch test.js
相關文章
相關標籤/搜索