1.0.1 • Published 3 years ago

svelte-alert-and-button v1.0.1

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

svelt-component-library

This library includes:

  • Button components
  • Alert components
  • Testing using svelte-testing-library + Jest
  • Storybook
  • Rollup, configured to build .js (umd), .min.js (iife), .mjs (es)

Installation

  • Run npm install alert-and-button (or yarn add alert-and-button)

This is the GitHub repo for this package.

Consuming components

The package.json has a "svelte" field pointing to src/index.js, which allows Svelte apps to import the source code directly, if they are using a bundler plugin like rollup-plugin-svelte or svelte-loader (where resolve.mainFields in your webpack config includes "svelte"). This is recommended.

Description

This application was built with Svelte and storybook for checking out the amazing components. You can check out more on Svelte and storybook.