carbon-charts-svelte-examples Svelte Themes

Carbon Charts Svelte Examples

Collection of example set-ups using @carbon/charts-svelte

carbon-charts-svelte-examples

Minimal set-ups using @carbon/charts-svelte

Quick start

Use degit to quickly scaffold a new project from one of the examples.

# rollup
npx degit metonym/carbon-charts-svelte-examples/rollup my-app

# sveltekit
npx degit metonym/carbon-charts-svelte-examples/sveltekit my-app

# sveltekit-typescript
npx degit metonym/carbon-charts-svelte-examples/sveltekit-typescript my-app

# vite
npx degit metonym/carbon-charts-svelte-examples/vite my-app

# webpack
npx degit metonym/carbon-charts-svelte-examples/webpack my-app

Running locally

To run the examples locally, clone the repository and navigate to the example folder and run bun install to install the dependencies.

Run bun run dev for local development.

Run bun run build to build the application for production.

Top categories

Loading Svelte Themes