1.0.0 • Published 6 years ago
music_box v1.0.0
client
express and vue and node
发现一个很好玩的vue插件,能够将听到的音乐可视化
闲来无聊,写了一个小demo
效果截图、
这里我是列出了三种类型的可视化图
安装
npm i
import
Vue.use
属性
#检测用户平台 虽然自带的useragent appversion能查看客户端,正巧想起来以前用过的detect.js,是否能用在vue中呢
我在app加载时打印出客户端信息,发现chrome windows 是否是手机 等信息很全,然后查看了opera、firefox浏览器也都ok
# 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.
1.0.0
6 years ago