SuperIron / easy-h5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

easy-h5

基本信息

基于 Vue 2.x + ts 搭建,可快速进行二次开发的 h5 框架。

基础功能

  • 背景音乐

    • 微信浏览器,支持自动播放

    • 非微信浏览器,支持点击屏幕播放

  • 资源预加载

    • 图片预加载

    • 音频预加载

  • 微信 API

    • 登录

    • 分享

  • 屏幕适配,1rpx 等于设计图 1px

  • 按需引入 Vant 的 Toast 组件

  • 音频库 EasyAudio

  • vue-orient 禁止用户旋转屏幕 https://github.com/SuperIron/vue-disbounce

  • 文件上传

  • animate.css CSS3 动画

  • 按需引用 vant 的 Toast 组件

指令

# Project setup
npm install

# Compiles and hot-reloads for development
npm run serve

# Compiles and minifies for production
npm run build

# Run your unit tests
npm run test:unit

# Lints and fixes files
npm run lint

作者

SuperIron

About