slush-globegraphic

A basic template to get you up and running FAST. Scaffolds the basic html, css, and javascript necessary for a responsive iframe graphic that plays nice with the Globe.

Usage no npm install needed!

<script type="module">
  import slushGlobegraphic from 'https://cdn.skypack.dev/slush-globegraphic';
</script>

README

slush-globegraphic

A basic template to get you up and running FAST. Scaffolds the basic html, css, and javascript necessary for a responsive iframe graphic that plays nice with the Globe.

Prerequisites

  • Install node
  • Install slush and this generator: npm install -g slush slush-globegraphic
  • If the above gives you trouble, run it as super-user: sudo npm install -g slush slush-globegraphic
  • Optional: if you want to commit to GitHub, install hub: brew install hub

Quick start

To create a new graphic, create a new directory, cd into it, and run

slush globegraphic

Follow all prompts.

License

MIT © The Boston Globe