我们很开心,装好脚手架了
Vue CLI v4.1.1
┌─────────────────────────────────────────┐
│ │
│ New version available 4.1.1 → 4.4.6 │
│ Run npm i -g @vue/cli to update! │
│ │
└─────────────────────────────────────────┘
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, Router, Vuex, CSS Pre-processors, Linter
? 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): Sass/SCSS (with node-sas
s)
? Pick a linter / formatter config: Prettier
? Pick additional lint features: (Press <space> to select, <a> to toggle all, <i> to invert selection)Lint on save
? Where do you prefer placing config for Babel, ESLint, etc.? In dedicated config files
? Save this as a preset for future projects? Yes
? Save preset as: aaa
Vue CLI v4.1.1
✨ Creating project in C:\Users\Administrator\Desktop\vue3.
⚙ Installing CLI plugins. This might take a while...
> [email protected] install C:\Users\Administrator\Desktop\vue3\node_modules\yorkie
> node bin/install.js
setting up Git hooks
done
> [email protected] postinstall C:\Users\Administrator\Desktop\vue3\node_modules\core-js
> node -e "try{require('./postinstall')}catch(e){}"
> [email protected] postinstall C:\Users\Administrator\Desktop\vue3\node_modules\ejs
> node ./postinstall.js
added 1201 packages from 846 contributors in 124.839s
� Invoking generators...
� Installing additional dependencies...
> [email protected] install C:\Users\Administrator\Desktop\vue3\node_modules\node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.14.1/win32-x64-64_binding.node
Download complete ] - :
Binary saved to C:\Users\Administrator\Desktop\vue3\node_modules\node-sass\vendor\win32-x64-64\binding.node
Caching binary to C:\Users\Administrator\AppData\Roaming\npm-cache\node-sass\4.14.1\win32-x64-64_binding.node
> [email protected] postinstall C:\Users\Administrator\Desktop\vue3\node_modules\node-sass
> node scripts/build.js
Binary found at C:\Users\Administrator\Desktop\vue3\node_modules\node-sass\vendor\win32-x64-64\binding.node
Testing binary
Binary is fine
added 146 packages from 100 contributors in 145.189s
⚓ Running completion hooks...
� Generating README.md...
� Successfully created project vue3.
� Get started with the following commands:
$ cd vue3
$ npm run serve
C:\Users\Administrator\Desktop>
也就是收,以后我们写完代码,就可以提交到github 里,这样,实现了可以到处办公的逻辑
需要就git clone 一下就行了!
熟悉的界面,熟悉的味道,下面就可以开干了,
上几篇复习了 git 的使用,也复习了vue-cli 的配置