gemercheung 35766e05f2 feat(组件): 移植组件 2 年之前
..
src 7a79f461a1 chore(组件): precommit与component 基本三大件directives, utils 2 年之前
CHANGELOG.md 7a79f461a1 chore(组件): precommit与component 基本三大件directives, utils 2 年之前
README.md 7a79f461a1 chore(组件): precommit与component 基本三大件directives, utils 2 年之前
index.ts 7a79f461a1 chore(组件): precommit与component 基本三大件directives, utils 2 年之前
package.json 7a79f461a1 chore(组件): precommit与component 基本三大件directives, utils 2 年之前
rollup.config.js 35766e05f2 feat(组件): 移植组件 2 年之前
tsconfig.build.json 7a79f461a1 chore(组件): precommit与component 基本三大件directives, utils 2 年之前
tsconfig.json 7a79f461a1 chore(组件): precommit与component 基本三大件directives, utils 2 年之前

README.md

@medici/core

The medici track system core module

installation

core module provide Main SDK class, All details are revived by @medici/web module

import * as Medici from '@medici/web';
const medici = Medici.init({
    platform: 'web',
    appId: '7b5958d5-1ae6-4ad5-8a87-5fc8a4b92999',
    endPoint: 'http://192.168.0.186:3000/api/collect', //服务器
    trackEndPoint: 'http://192.168.0.186:3000/api/track',
    config: {
        user: 'testUser',
        version: '1',
    },
});
console.log('medici', medici);
(window as any).medici = medici;