vue-dplayer-hls
vue2.0 + vue-dplayer实现hls播放的示例
:lollipop: 哇,如此可爱HTML5 danmaku视频播放器
构建设置
# 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
# run e2e tests
npm run e2e
# run all tests
npm test
有关工作原理的详细说明,请查看的和。
Vite-Vue2-demo
开发环境vite,webpack打包。
scss变量注入
alias
cdn引入,配置resolve externals
html模板语法
Project setup
yarn install
Compiles and hot-reloads for development
# vite启动
npm run dev
Compiles and minifies for production
yarn build
Lints and fixes files
yarn lint
Customize configuration
See .