Package Exports
- svelte-flat
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (svelte-flat) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
svelte-flat
Flat UI Components with SvelteJS
Installation
$ yarn add svelte-flatUsage
import { Button } from 'svelte-flat'
import 'svelte-flat/lib/theme-default/button.css'
const button = new Button({
target: document.querySelector('#button'),
data: {
content: 'Default Button'
}
})
button.onclick = function (e) {
console.log('hello world')
}Documentation
Browser Support
Unknown.
Development
# Build all components
$ yarn
$ yarn run init
$ yarn run build