Skip to content

使用饿了么 Vue 组件写的 h5 audio 播放器

Notifications You must be signed in to change notification settings

cag2050/vue-audio-player

Repository files navigation

  • 组件所在路径:src/components/VueAudioPlayer.vue

  • 使用 vue-cli 构建,命令

vue init webpack [project-name]
  • 引入饿了么组件
  1. 安装:
    npm install element-ui --save-dev
    npm install element-theme-default --save-dev
  2. main.js 添加:
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-default/index.css'  

Vue.use(ElementUI)

A Vue.js project

Build Setup

# 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 detailed explanation on how things work, checkout the guide and docs for vue-loader.

About

使用饿了么 Vue 组件写的 h5 audio 播放器

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published