# vue-cli **Repository Path**: shuleijia/vue-cli ## Basic Information - **Project Name**: vue-cli - **Description**: vue-cli创建vue后台项目 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2019-08-22 - **Last Updated**: 2022-06-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 创建步骤 a. npm install vue-cli -g (安装vue-cli) b. vue init webpack vue-cli-demo --offline (名称) Project name (vue-cli-demo): sjj (项目名称) Project description (A Vue.js project): (项目描述,可不写) Author (jiajia.song ) (作者) Vue build (Use arrow keys) (Vue构建(使用箭头键)) > Runtime + Compiler: recommended for most users (选择这个回车) Runtime-only: about 6KB lighter min+gzip, but templates (or any Vue-specific H TML) are ONLY allowed in .vue files - render functions are required elsewhere Install vue-router? (Y/n) Y (安装vue-router) Use ESLint to lint your code? (Y/n) Y (使用eslint规范) Pick an ESLint preset (Use arrow keys) (选择一个ESLint预置) > Standard (https://github.com/standard/standard) (选择这个回车) Airbnb (https://github.com/airbnb/javascript) none (configure it yourself) Set up unit tests (Y/n) n (建立单元测试) Setup e2e tests with Nightwatch? (Y/n) n (使用夜视设置e2e测试) Should we run `npm install` for you after the project has been created? (recom mended) (Use arrow keys) (使用npm) > Yes, use NPM (选择这个回车) Yes, use Yarn No, I will handle that myself 最后运行 npm run dev 你就会得到你的项目 ![输入图片说明](https://images.gitee.com/uploads/images/2019/0919/135558_9ab5bd78_5092822.jpeg "1568872488(1).jpg")