➜ sudo npm i -g @vue/cli
➜ Sites vue create pc-eworldsoft.com
Vue CLI v5.0.8
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, Router, Vuex, CSS
Pre-processors
? 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): Sass/SCSS (with dart-sass)
? Where do you prefer placing config for Babel, ESLint, etc.? In dedicated
config files
? Save this as a preset for future projects? No
Vue CLI v5.0.8
✨ Creating project in /Users/simon/Sites/pc-eworldsoft.com.
🗃 Initializing git repository...
⚙️ Installing CLI plugins. This might take a while...
added 838 packages in 1m
🚀 Invoking generators...
📦 Installing additional dependencies...
added 10 packages in 5s
⚓ Running completion hooks...
📄 Generating README.md...
🎉 Successfully created project pc-eworldsoft.com.
👉 Get started with the following commands:
$ cd pc-eworldsoft.com
$ npm run serve
➜ Sites cd pc-eworldsoft.com
➜ pc-eworldsoft.com git:(master) npm run serve
标签: vue-cli