derhuerst/ndjson-chart-cli

embed c3.js & d3.js into the generated HTML

Open

#1 aperta il 7 gen 2020

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)JavaScript (0 fork)github user discovery
enhancementgood first issuehacktoberfesthelp wanted

Metriche repository

Star
 (2 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

to make it work standalone, without relying on CDNs being available. As a build step, we could

  • add {{c3css}}, {{c3js}} & {{d3js}} placeholders to lib/head.html,
  • fetch the JS/CSS code from cdnjs.com,
  • replace the placeholders

Guida contributor