node.js:
node.js和npm的安装与环境配置(2021最新版)_小绵杨-CSDN博客_npm安装
Vue-cli 3.0
新版本 脚手架
--全局安装 npm install -g @vue/cli (sudo npm install -g @vue/cli)
--卸载 npm uninstall @vue/cli -g
vue 4.X 创建项目:去文件夹下 vue create 项目名称
?please pick a preset:
mannually select features
?check the features needed for your project
按空格选中: choose vue version;babel,router,vuex,css-processors
?version 2.X
?history mode for router? N
?pick a CSS pre-processor? Less
?where do you prefer placing config? >in package.json
?Save as preset for future projects? Yes
?Save preset as: 配置的名字,便于下次选择,不需要再次配置
启动指令:npm run serve
UI可视化面板创建项目
1. windows+r 打开运行面板
2. 输入 cmd 打开终端窗口
3. 输入vue ui 就有可视化面板了?
????????http://localhost:8000/project/select
4. 进行选配
|