Make sure https://github.com/excid3/tailwindcss-stimulus-components are installed. Follow the instructions to install them:
- yarn add tailwindcss-stimulus-components
- add following to
javascript\controllers\index.js
:
// Import and register all TailwindCSS Components
import { Alert, Dropdown, Modal, Tabs, Popover, Toggle, Slideover } from "tailwindcss-stimulus-components"