tailwind-blazor-starter
tailwind-blazor-starter copied to clipboard
Modal Fix In Template Project
Added fix so modal opens after clicking on the button in the tailwind template starter project
Fix involves the following:
- Use
libmaninstead of npm to install flowbite to the starter project - Add a missing attribute,
data-modal-targetto get the modal to open - Use
IJSRuntimeto invoke the flowbite functioninitModalsto initialize the modal
Note: Must manually use libman to install flowbite to the wwwroot folder to work. Library files for flowbite have been excluded in this commit.