https://github.com/gift-stack/svelte-alert-and-button-library
https://github.com/gift-stack/svelte-alert-and-button-library
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gift-stack/svelte-alert-and-button-library
- Owner: Gift-Stack
- License: other
- Created: 2021-07-29T23:53:34.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-07T09:41:47.000Z (almost 5 years ago)
- Last Synced: 2025-10-19T15:40:41.804Z (8 months ago)
- Language: JavaScript
- Size: 300 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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`](https://github.com/Gift-Stack/Svelte-Alert-And-Button-Library) 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](https://github.com/sveltejs/rollup-plugin-svelte) or
[svelte-loader](https://github.com/sveltejs/svelte-loader) (where
[`resolve.mainFields`](https://webpack.js.org/configuration/resolve/#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]
(https://https://svelte.dev/) and
[storybook](https://storybook.js.org/docs/svelte/).