1.2.1 • Published 1 year ago
stimulus-yafoy v1.2.1
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.
- Add package to your application
yarn add stimulus-yafoy
- 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
- clone the repository and
cd
into it - run
yarn
to install dependencies - run
yarn dev
to start the dev process
Publishing
- Run
yarn build
- Update
CHANGELOG.md
- Run
yarn publish