BasicPrimitives / javascript

Basic Primitives Diagrams for JavaScript - data visualization components library that implements organizational chart and multi-parent dependency diagrams, contains implementations of JavaScript Controls and PDF rendering plugins.
https://basicprimitives.github.io/javascript/
Other
61 stars 15 forks source link

Samples dont work #99

Closed fasteddys closed 1 year ago

fasteddys commented 1 year ago

Hello I tried with CORS allowed, and with VS code live server for localhost, both dont show any of the orgcharts, can you please share some guidance.

image

BasicPrimitives commented 1 year ago

We are github project, please, use yarn or npm to start webpack dev server

yarn start

open http://localhost:8080/

If you need to run it at your web site, then build it with yarn build

See package.json for available scripts:

  "scripts": {
    "test": "jest",
    "build": "webpack",
    "start": "webpack serve ",
    "apireference": "node apireference.js apireference.json"
  },