svelte-dice
TypeScript icon, indicating that this package has built-in type declarations

1.0.0-beta.4 • Public • Published

svelte-dice

A simple d6 and table implementation for Svelte.

Breaking Change

There is a breaking change between Beta 3 and Beta 4 as the code was converted to TypeScript and it was determined that some things didn't make sense nameds as they were.

Consuming the component

If you are using Svelte, and your build is setup correctly, you should be using the native Svelte files when you import things into your app.

Otherwise you will consume either the ES module or the UMD module depending on your needs. You will also need to import svelte-dice/dist/dice.css into your app as well.

Readme

Keywords

Package Sidebar

Install

npm i svelte-dice

Weekly Downloads

1

Version

1.0.0-beta.4

License

none

Unpacked Size

325 kB

Total Files

34

Last publish

Collaborators

  • colinbate