$ npm run dev // 或者 $ npm run production npm run dev 适用于开发环境,最终输出的代码不会被压缩; npm run production 适用于生产环境,最终输出的代码会被压缩。