Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/metonym/carbon-charts-svelte-examples
Collection of example set-ups using @carbon/charts-svelte
https://github.com/metonym/carbon-charts-svelte-examples
carbon-charts carbon-charts-svelte rollup sapper snowpack svelte sveltekit vite webpack
Last synced: 3 months ago
JSON representation
Collection of example set-ups using @carbon/charts-svelte
- Host: GitHub
- URL: https://github.com/metonym/carbon-charts-svelte-examples
- Owner: metonym
- Created: 2021-07-21T16:58:04.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-10-27T02:34:11.000Z (3 months ago)
- Last Synced: 2024-10-27T03:32:32.493Z (3 months ago)
- Topics: carbon-charts, carbon-charts-svelte, rollup, sapper, snowpack, svelte, sveltekit, vite, webpack
- Language: Svelte
- Homepage:
- Size: 2.38 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# carbon-charts-svelte-examples
> Minimal set-ups using [`@carbon/charts-svelte`](https://github.com/carbon-design-system/carbon-charts/tree/master/packages/svelte)
## Quick start
Use [degit](https://github.com/Rich-Harris/degit) to quickly scaffold a new project from one of the examples.
```sh
# 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.