0.0.3 • Published 5 years ago

@wiredcraft/oam v0.0.3

Weekly downloads
1
License
-
Repository
-
Last release
5 years ago

Omni-analytics-manager

How to install

The base library should greater than 2.2.1

  1. # npm init // Skip this step if you already have package.json
  2. $ npm install @wiredcraft/oam --production
  3. In WeChat Developer Tool, Tools -> build npm
  4. 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({
  ...
})