我在搭建脚手架 vue 应用程序 frontend 使用 webpack :
vue
frontend
webpack
vue init webpack frontend cd frontend
对于这个应用程序,我需要- axios ,因此:
axios
npm install axios
现在我将代码推送到repo并从另一台计算机克隆repo。
我的 问题 是:
如何确保所有必需的npm库都在新计算机上,以便 npm run build 成功了吗?
npm run build