Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Online example is not working. #130

Open
jfekete1 opened this issue Jul 8, 2024 · 1 comment
Open

Online example is not working. #130

jfekete1 opened this issue Jul 8, 2024 · 1 comment

Comments

@jfekete1
Copy link

jfekete1 commented Jul 8, 2024

Online example is not working.

@jokob-sk
Copy link

jokob-sk commented Feb 2, 2025

Tried to generate it in my fork, proceed with caution, I'm about 50% sure I know what I'm doing

https://github.com/jokob-sk/treeviz

Vanilla JavaScript NEW

To build .js budle

npx esbuild src/index.ts --bundle --outfile=dist/bundle.js --platform=browser --format=iife --global-name=Treeviz --keep-names
  1. Download:

/dist/bundle.js
/dist/bundle.js.map

  1. Link in your HTML
<script src="lib/treeviz/bundle.js"></script> 
<script src="lib/treeviz/bundle.js.map"></script> 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants