如何打包 Vue 项目

安装 node 14,进入 admin 文件夹

image-20231007191912751

接着执行

npm config set registry https://registry.npmmirror.com
npm install

如果遇到 error 的话
执行

npm set sass_binary_site http://cdn.npm.taobao.org/dist/node-sass

接着再执行

npm install
npm run build // 这个是打包

重新运行项目,就可以看到你的修改

VsCode 如何运行 vue 前端

安装 node 14,进入 admin 文件夹

image-20231007191912751

直接用 Vscode 打开即可

具体教程

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。