[TOC] ## 初始化项目 ```shell > vue init webpack vue-music > ? Project name vue-music ? Project description 音乐播放器 ? Author idcpj <260xxx@qq.com> ? Vue build Runtime-only ? Install vue-router? Yes ? Use ESLint to lint your code? Yes ? Pick an ESLint preset Standard ? Set up unit tests No ? Setup e2e tests with Nightwatch? No ? Should we run `npm install` for you after the project has been created? (recom mended) npm ``` ## 目录结构 ``` ├── api ├── common │   ├── fonts │   ├── image │   ├── js │   └── stylus ├── components ├── router ├── store ├── App.vue └── main.js ```