vue项目运行、打包

运行:

$ cd my-project

$ cnpm install

$ cnpm run dev


打包:

$ npm run build

执行完成后,会在 Vue 项目下生成一个 dist 目录,一般包含 index.html 文件及 static 目录,static 目录包含了静态文件 js、css 以及图片目录 images。

posted @ 2021-08-13 09:15  柳仙慧子  阅读(90)  评论(0编辑  收藏  举报