@cognitive-class/jupyterlab-cde-plugin
Version:
Drop-in Cognos Dashboard Embedded plugin for Jupyterlab
45 lines (31 loc) • 852 B
Markdown
# jupyter-cde-plugin
## Usage
```html
<script
src="https://unpkg.com/@cognitive-class/jupyterlab-cde-plugin@0.1.0/standalone/jupyterlab-cde-plugin.js"
crossorigin="anonymous"
></script>
```
```html
<button type="button" onclick="event.stopPropagation(); window.jupyterlabCDEPlugin.openSourceManager()">
Open CDE Source Manager
</button>
<div id="jupyterlab-cde-plugin"></div>
```
## How to test locally
```bash
npm i -g serve
```
```bash
yarn
```
```bash
yarn watch:standalone
```
```bash
serve standalone
```
Then you have to edit `https://github.ibm.com/cognitive-class-labs/jupyterlab-extensions/blob/bb4ee0a0dbf58c3af96cd35c9eb58a7b397ccfc4/cognos-dashboard/src/editor.ts#L50`
Change CDN link from `https://unpkg.com/...` to `http://localhost:5000/jupyterlab-cde-plugin.js`
## Author
- Cognivie Class, IBM Digital Business Group