1.2.1 • Published 1 year ago

stimulus-yafoy v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

StimulusJS components by Yafoy

A set of components more or less coupled with Bootstrap 5.

List of components:

  • Flash
  • Goto
  • Slug
  • Toggle

Requires Stimulus 3

Install

This assumes StimulusJS is already installed.

  1. Add package to your application yarn add stimulus-yafoy
  2. Import package
// Import and register components
import { Flash, Toggle } from "stimulus-yafoy"
application.register("flash", Flash)
application.register("toggle", Toggle)

Docs

To view the example page, run npx serve from the root or the docs folder.

Contributing

  1. clone the repository and cd into it
  2. run yarn to install dependencies
  3. run yarn dev to start the dev process

Publishing

  1. Run yarn build
  2. Update CHANGELOG.md
  3. Run yarn publish