使用Vue创建一个项目

环境:

已经 安装 node.js   npm

从git上clone项目

命令:git clone http://10.7.0.240:9001/cq-smartplatform/tec-employee.git

创建项目

命令:vue create tec-employee

选择配置

配置完成

 

最后附上所有命令代码:

Microsoft Windows [版本 10.0.19041.508]
(c) 2020 Microsoft Corporation. 保留所有权利。

C:\Users\Administrator>d:

D:\>cd d:VSCodeProjects\demo

D:\VSCodeProjects\demo>git clone http://10.7.0.240:9001/cq-smartplatform/tec-employee.git
Cloning into 'tec-employee'...
warning: You appear to have cloned an empty repository.

D:\VSCodeProjects\demo>vue create tec-employee


Vue CLI v4.5.12
? Target directory D:\VSCodeProjects\demo\tec-employee already exists. Pick an action: Merge


Vue CLI v4.5.12
? Please pick a preset: Manually select features
? Check the features needed for your project: Choose Vue version, Babel, Router, CSS Pre-processors, Linter
? Choose a version of Vue.js that you want to start the project with 2.x
? Use history mode for router? (Requires proper server setup for index fallback in production) No
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are supported by default): Less
? Pick a linter / formatter config: Basic
? Pick additional lint features: Lint on save
? Where do you prefer placing config for Babel, ESLint, etc.? In package.json
? Save this as a preset for future projects? No


Vue CLI v4.5.12
✨  Creating project in D:\VSCodeProjects\demo\tec-employee.
⚙️  Installing CLI plugins. This might take a while...


> yorkie@2.0.0 install D:\VSCodeProjects\demo\tec-employee\node_modules\yorkie
> node bin/install.js

setting up Git hooks
done


> core-js@3.10.1 postinstall D:\VSCodeProjects\demo\tec-employee\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"


> ejs@2.7.4 postinstall D:\VSCodeProjects\demo\tec-employee\node_modules\ejs
> node ./postinstall.js

added 1258 packages from 661 contributors in 50.586s

71 packages are looking for funding
  run `npm fund` for details

🚀  Invoking generators...
📦  Installing additional dependencies...

added 65 packages from 102 contributors in 8.83s

76 packages are looking for funding
  run `npm fund` for details

⚓  Running completion hooks...

📄  Generating README.md...

🎉  Successfully created project tec-employee.
👉  Get started with the following commands:

 $ cd tec-employee
 $ npm run serve


D:\VSCodeProjects\demo>cd tec-employee

D:\VSCodeProjects\demo\tec-employee>npm run serve

> tec-employee@0.1.0 serve D:\VSCodeProjects\demo\tec-employee
> vue-cli-service serve

 INFO  Starting development server...
98% after emitting CopyPlugin

 DONE  Compiled successfully in 3034ms                                                                       下午2:19:51

  App running at:
  - Local:   http://localhost:8083/
  - Network: http://10.7.0.60:8083/

  Note that the development build is not optimized.
  To create a production build, run npm run build.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

╰゛Maud

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值