Vue-CLI

vue init webpack my-project -------->创建项目

Project name my-project
? Project description A Vue.js project
? Author
? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? No
? Set up unit tests No
? Setup e2e tests with Nightwatch? No
? Should we run `npm install` for you after the project has been created? (recommended) npm

my-project -------->项目名
-build -------->webpack打包的build依赖
-config -------->项目的配置目录
-node_modules -------->管理项目依赖
-src -------->编程Vue的源代码【重点】
+assets -------->放静态资源【】
components -------->编程Vue组件【】
router -------->配置组件路由【】
App.vue -------->项目中根组件【】
main.js -------->项目主入口【】
-static -------->其他静态

cd my-project

npm start

./同级;cd ../上一级

原文地址:https://www.cnblogs.com/mo-jian-ming/p/13597765.html