Skip to content

mhkeller/layercake-template

Repository files navigation

Layer Cake Example

This is a starter example for using Layer Cake. It sets you up with the line and area chart as seen in the examples. It uses SvelteKit and so the file structure and file naming conventions come from there.

To create a new project based on this template using degit:

npx degit mhkeller/layercake-template my-chart
cd my-chart

Note that you will need to have Node.js installed.

Get started

Install the dependencies...

npm install
npm run build && npm run preview

Your app will be running at localhost:4173.

Developing

# if you didn't already install, run the install command
npm install
npm run dev

Your app will be running at localhost:5173.