1.2.7 • Published 4 years ago
fuzhongfeng-test-slide-sdk v1.2.7
axx-slide-sdk
版本发布
修改 package.json 里的 version 字段(记得同步master)
打包
npm run build
- 发布到 npm(需有gaosi-fe账号权限)
npm publish
安装方式
$ npm install axx-slide-sdk
引用方式
ES:
import {EditorSDK, PlayerSDK} from 'axx-slide-sdk'
CJS:
const {EditorSDK, PlayerSDK} = require('axx-slide-sdk')
浏览器:
<script type="module">
import {EditorSDK, PlayerSDK} from './node_modules/axx-slide-sdk/dist/index.es.js'
</script>