Giter Club home page Giter Club logo

vue-qq-music's Introduction

vue全家桶+typescript重构qq音乐移动端

预览(请在手机上观看)

可能加载有点慢,服务器在国外🤣 ===> QQ音乐🎵

说明

本项目是基于我的原生 js 项目qq 音乐重构完成。在此期间,参考了一些vue与typescript的整合的教程,对我帮助挺大的,感谢写这些教程的作者们,在这里由衷的感谢!以下是参考的教程:

  1. vue + typescript 新项目起手式

  2. Vue2.5+ Typescript 引入全面指南 - Vuex篇

安装方法

打开终端 ,输入:

git clone [email protected]:shenzekun/vue-qq-music.git

切换到克隆下来的文件夹:

cd vue-qq-music

然后输入:

yarn

然后运行

npm run dev

最后在浏览器中打开 http://localhost:8080/

项目结构

使用see-dirtree 显示目录树

vue-qq-music
├──LICENSE
├──README.md
├──index.html
├──package.json
├──tsconfig.json
├──tslint.json
├──yarn.lock
├──static
├──src
│  ├──App.vue
│  ├──main.ts
│  ├──vue-shim.d.ts
│  ├──style
│  │  ├──_var.scss
│  │  └──reset.scss
│  ├──store
│  │  ├──action.ts
│  │  ├──index.ts
│  │  ├──mutation-types.ts
│  │  └──mutations.ts
│  ├──service
│  │  └──getData.ts
│  ├──router
│  │  └──index.ts
│  ├──pages
│  │  ├──search
│  │  │  └──search.vue
│  │  ├──recommend
│  │  │  └──recommend.vue
│  │  ├──rank
│  │  │  └──rank.vue
│  ├──config
│  │  ├──api.ts
│  │  ├──fetch.ts
│  │  ├──mixin.ts
│  │  └──utils.ts
│  ├──components
│  │  ├──NavHeader.vue
│  │  ├──Player.vue
│  │  └──Swipe.vue
│  ├──assets
│  │  ├──clock_ic.png
│  │  ├──default_pic.jpg
│  │  ├──favicon.ico
│  │  ├──icon_loading.png
│  │  ├──list_sprite.png
│  │  ├──loading.gif
│  │  ├──logo.png
│  │  ├──search_sprite.png
│  │  └──sprite_play.png
├──config
│  ├──dev.env.js
│  ├──index.js
│  └──prod.env.js
├──build
│  ├──build.js
│  ├──check-versions.js
│  ├──logo.png
│  ├──utils.js
│  ├──vue-loader.conf.js
│  ├──webpack.base.conf.js
│  ├──webpack.dev.conf.js
│  └──webpack.prod.conf.js

16 directories, 48 files.

使用的组件

  1. swiper
  2. vue-lazyload

vue-qq-music's People

Contributors

shenzekun avatar mirzazulfan avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.