0.7.1 • Published 3 years ago

svelte-toolkit v0.7.1

Weekly downloads
22
License
MIT
Repository
-
Last release
3 years ago

Svelte Toolkit

A collection of UI components for Svelte.

View the documentation.

Getting Started

The use of the yarn package manager is strongly recommended, as opposed to using npm.

yarn add -D svelte-toolkit

Consuming from SvelteKit

Import and add the Toolkit component in __layout.svelte to provide shared styles:

import { Toolkit } from "svelte-toolkit";
...
<Toolkit />

Import toolkit components in your svelte component:

import { Button } from "svelte-toolkit";

Consuming from Sapper

Import and add the Toolkit component in _layout.svelte to provide shared styles:

import { Toolkit } from "svelte-toolkit";
...
<Toolkit />

Import toolkit components in your svelte component:

import { Button } from "svelte-toolkit";

If you receive a warning about SSR, change it to:

import { Button } from "svelte-toolkit/main.js";

(I'm not 100% sure why this happens some times and not others)

Consuming from Electron

Import the SCSS styles in your renderer.js or renderer/index.js:

require("svelte-toolkit/main.scss");

Import toolkit components in your svelte component:

import { Button } from "svelte-toolkit";

Customising

TODO:

0.7.1

3 years ago

0.7.0

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago