camper

S'mores and static sites.

Usage no npm install needed!

<script type="module">
  import camper from 'https://cdn.skypack.dev/camper';
</script>

README

Camper

Generate static sites.

Getting started

Create a directory structure as below...

Directory setup

/src/
/src/page
/src/page/index.jsx
/src/page/data.json

Each folder will represent a different page that will output after camper runs.

For example, if you have /src/about/index.jsx, you'll get an about.html in the dist folder.

Install and run

npm install --save-dev camper

# OR add the following to your package.json under dependencies

"camper": "https://github.com/lonelyplanet/camper"

# Then run it...

camper src