搭建一个vue项目

1.准备好node依赖等的安装

2.打开cmd命令行转到要创建项目的地方

D:>cd how2j/curd

3.使用命令搭建vue项目

vue init webpack curddemo

4.一直回车

ESlint 选择no

1
2
3
4
5
6
7
8
9
10
? Project name curddemo
? Project description A Vue.js project
? Author xiaxiao0610 <1397820148@q 大专栏  搭建一个vue项目q.com>
? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? No
? Set up unit tests Yes
? Pick a test runner jest
? Setup e2e tests with Nightwatch? Yes
? Should we run `npm install` for you after the project has been created? (recommended) no

5.成功部署

1
2
3
DONE  Compiled successfully in 9310ms                                                                       11:24:40 AM

I Your application is running here: http://localhost:8080

搭建一个vue项目

搭建一个vue项目

上一篇:执行代码提示:Ran 0 tests in 0.000s


下一篇:AS升级编译报错:The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin.