windosw-Vue环境搭建及项目创建
配置Vue环境(个人记录)
下载node.js
安装vue cli
npm install -g @vue/cli
安装cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
安装webpack和webpack-cli
cnpm install webpack -g
创建Vue项目
vue init webpack 项目名称
>>>>? Project name login_d
? Project description 默认
? Author 默认
? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? No
? Set up unit tests No
? Setup e2e tests with Nightwatch? No
? Should we run `npm install` for you after the project has been created? (recommended) npm
Use ESlint到Setup e2e项设置为no。
本文作者:duuuuu17
本文链接:https://www.cnblogs.com/duuuuu17/p/17563257.html
版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步