0.0.3 • Published 6 years ago
@wiredcraft/oam v0.0.3
Omni-analytics-manager
How to install
The base library should greater than 2.2.1
- # npm init// Skip this step if you already have package.json
- $ npm install @wiredcraft/oam --production
- In WeChat Developer Tool, Tools -> build npm
- In WeChat Developer Tool, Details -> check Use NPM module
How to setup
Copy the following code at the beginning of the file app.js
const oam = require('@wiredcraft/oam')
oam({
  url: 'theAPIUrl'
})
App({
  ...
})