agnostic-svelte-ts
v1.1.24
Published
This is the [Svelte version](https://github.com/AgnosticUI/agnosticui/tree/master/agnostic-svelte) of [AgnosticUI](https://github.com/AgnosticUI/agnosticui).
Downloads
4
Readme
AgnosticUI Svelte
This is the Svelte version of AgnosticUI.
As earlier versions of Svelte caused binding issues in several of AgnosticUI's components, we've upgraded the library using the latest Svelte-Kit and requires "svelte": "^3.47.0"
and later.
Npm install
npm install agnostic-svelte
oryarn add agnostic-svelte
- In your project's
public/index.html
ensure sure you've included thebundle.css
- In your
src/App.svelte
importagnostic-svelte/css/common.min.css
before anyagnostic-svelte
components; it will look something like:
<script>
import 'agnostic-svelte/css/common.min.css';
import { Button } from 'agnostic-svelte';
</script>
<!-- In your html section you can now use the agnostic-svelte component -->
<Button>Go</Button>
A complete kitchen sink example is located in ./examples/src/App.svelte