? Check the features needed for your project: ( ) Choose Vue version >() Babel //翻译工具, 将脚手架中时髦的ES6、ES7的新语法,翻译为等效的ES5代码。让绝大多数浏览器都可以运行Vue脚手架代码. ( ) TypeScript ( ) Progressive Web App (PWA) Support () Router (*) Vuex ( ) CSS Pre-processors ( ) Linter / Formatter ( ) Unit Testing ( ) E2E Testing
Use history mode for router? (Requires proper server setup for index fallback in production) (Y/n) n 1). vue-router默认导航方式是hash方式: #/相对路径 2). 如果改为history模式,则地址栏中不包含#: /相对路径 必须服务器端工程师提供首页重定向配置.
Where do you prefer placing config for Babel, ESLint, etc.? In dedicated config files > In package.json
Save this as a preset for future projects? (y/N) N 等待… 当看到Successfully created project 项目名,说明生成脚手架代码成功