The goal is to create a web component that wraps the editor and and viewer to be used by the confluence server plugin.
npm install diagram-as-code.jsThe goal is to create a web component that wraps the editor and and viewer to be used by the
confluence server plugin.
It looks like this.
//DSL
A.method
`$3
`
//DSL
A-->B;
`$3
`
//DSL
A-->B;
`The goal is to be able to be used on:
1. Confluence Server (most simple case - MVP 1)
2. Confluence Cloud (need to support coloring panel and mermaid)
3. Web App / Chrome Extension (are we enabling coloring panel?)
4. JetBrains Plugin (disable editor always, mermaid? coloring panel?)
Project setup
`
yarn install
`$3
`
yarn serve
`$3
`
yarn build
`$3
`
yarn lint
`$3
1. Install
live-server with npm install -g live-server
2. Build the web component with watch 'yarn build && cp public/demo.html dist' src`#### Trouble-shooting
https://stackoverflow.com/questions/51346334/npm-live-server-not-auto-reloading