Skip to content

natjs/weex-nat-wechat

Repository files navigation

nat-wechat

Installation

weexpack plugin add nat-wechat
npm i natjs

Usage

Use in weex project (.vue/.we)

<script>
import Nat from 'natjs'

// pay
Nat.wechat.pay({
    // wechat pay info object
})

// auth
Nat.wechat.auth({
    // wechat auth info object
})

</script>

See the Nat Documentation for more details.