weapp-up

Weapp native development enhancement library


Keywords
Weapp
License
MIT
Install
npm install weapp-up@0.0.2

Documentation

weup

微信小程序原生开发增强库,执着原生开发。

读音同“威普”。

特性

  • 零入侵
  • Page mixin
  • 全局状态管理
  • bus
  • 工具类

快速使用

小程序开启 npm 模块。

npm install --save weup
or
yarn add weup

全局引入

// app.js
import weup from 'weup'
// 全局安装
weup.install()

单独引入

// page.js
import weup from 'weup'
weup.page({
  onLoad() {}
})

// component.js
import weup from 'weup'
weup.component({
  ready() {}
})