It is recommended in TailwindUI to install @tailwindcss/forms for resetting form elements and making them styleable by using utility classes.
An added advantage is that readers get to learn how to configure Tailwind in an Ember project since we'll need to create a config file (npx tailwindcss init), add the forms plugin to the config and then using that config in the postCssOptions section of ember-cli-build.js.
Hmm, I did this but didn't see any difference in what the form looks like (though it only has a single text input), so I'm not sure this is worthwhile 🤔
It is recommended in TailwindUI to install
@tailwindcss/forms
for resetting form elements and making them styleable by using utility classes.An added advantage is that readers get to learn how to configure Tailwind in an Ember project since we'll need to create a config file (
npx tailwindcss init
), add the forms plugin to the config and then using that config in thepostCssOptions
section of ember-cli-build.js.(The form is created in Controllers.)
The implementation work is done on this branch