schultek / jaspr

Modern web framework for building websites in Dart. Supports SPAs and SSR.
https://jasprpad.schultek.de
MIT License
1k stars 59 forks source link

fix: Tailwind docs are incorrect #179

Closed walsha2 closed 4 months ago

walsha2 commented 4 months ago

Description

The tailwind docs found here do not work out of the box. The SimpleCard component is converting the class string to a List<String>

Additional Context

Likely due to recent breaking change - docs just have not been updated yet.

BREAKING Changed type of the classes property of html components from List to String. Multiple class names can be set using a single space-delimited string, e.g. classes: 'class1 class2'.

schultek commented 4 months ago

Fixed