svelte-spectre
svelte-spectre copied to clipboard
UI-kit based on *spectre.css* and powered by *svelte*
Svelte-spectre
UI-kit based on spectre.css and powered by SvelteJS. See the documentation, which is also a component explorer (storybook).
Requirements
node -v >= 15npm -v >= 7
Installation
npm install
Building package
This builds the GUI components in a package folder:
npm run package
Developing
This serves a demonstration website:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
The demo website lives in a separate repo https://github.com/metis-science/svelte-spectre-storybook.
Integration
Before creating a production version of your app, install an adapter for your target environment. Then run:
npm run build
You can preview the built app with npm run preview, regardless of whether you installed an adapter. This should not be used to serve your app in production.
License
Copyright 2021-2023 BASF SE
BSD 3-Clause