Welcome to my blue rabbit music
A mobile music WebApp is developed based on Vue(2.5) + vuex + vue-router + vue-axios +better-scroll + Scss + ES6, etc. The UI interface refers to the Android version of QQ music and flex layout adapts to common mobile terminals.
Partial image preview
Development purpose
By learning to develop a Vue project, let yourself be more proficient in using Vue, familiar with the idea of modular development, better use of ES6 and other knowledge, and improve your technical capabilities
Functions implemented:
- Music play, pause, previous song, next song
- Playlist, add to playlist, play as next song
- Search singles, singers
- View artist details page
- Leaderboard
- Switch playback mode
EVERYTHING
- Lyrics cannot be displayed by sliding left and right, only records can be played
- Search: Clicking on the singer will not jump to the artist details page, and clicking on the song title will not display the record content
- My part to be developed
Technology stack
front end
- Vue: MVVM framework for building user interfaces
- vue-router: a routing system for single-page applications
- vuex: Vue centralized state management, very convenient when multiple components share certain states
- vue-lazyload: Implement lazy loading of images, save user traffic, and optimize page loading speed
- better-scroll: A plug-in that solves the needs of various scrolling scenarios on the mobile terminal, making the sliding experience on the mobile terminal smoother
- SCSS: CSS pre-compiled processor
- ES6: ECMAScript new generation grammar, modularization, deconstruction assignment, Promise, Class, etc.
rear end
- Node.js: A local test server built with Express
- vue-axios: used to request back-end API music data
Other tools
- vue-cli: Vue scaffolding tool, quickly initialize project code
- eslint: Code style checking tool to help us standardize code writing (must develop a good code standard)
Build Setup
A Vue.js project
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
Download Details:
Author: Rainbow-cat-blue-rabbit
GitHub: https://github.com/Rainbow-cat-blue-rabbit/blue-rabbit
#vuejs #javascript #vue-js #vue