Dynamically load support module for IBSheet
Using npm:
$ npm install @ibsheet/loader
Using yarn:
$ yarn add @ibsheet/loader
Using browser:
<script src="https://unpkg.com/@ibsheet/loader/dist/umd/ibsheet-loader.min.js"></script>
var loader = window.IBSheetLoader
loader.load({
name: 'ibsheet',
baseUrl: '<publicpath>/ibsheet'
}).createSheet(options)
var loader = require('@ibsheet/loader')
loader.load({
name: 'ibsheet',
baseUrl: '<publicpath>/ibsheet'
}).createSheet(options)
import loader from '@ibsheet/loader'
// or import { IBSheetLoader as loader } from '@ibsheet/loader'
loader.load({
name: 'ibsheet',
baseUrl: '<publicpath>/ibsheet'
}).createSheet(options)
run webpack-dev-server localhost:3033
yarn serve
yarn build
yarn doc
yarn doc:publish
Generated using TypeDoc