Skip to content

UI-kit based on *spectre.css* and powered by *svelte*

License

Notifications You must be signed in to change notification settings

tilde-lab/svelte-spectre

 
 

Repository files navigation

Svelte-spectre

NPM version NPM downloads GitHub issues

UI-kit based on spectre.css and powered by SvelteJS. See the documentation, which is also a component explorer (storybook).

Requirements

  • node -v >= 15
  • npm -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

About

UI-kit based on *spectre.css* and powered by *svelte*

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 47.6%
  • SCSS 28.3%
  • TypeScript 19.2%
  • JavaScript 4.7%
  • Other 0.2%