rockandrollwithemberjs / rarwe-issues

Errata and updates for the Rock and Roll with Ember.js book
https://rockandrollwithemberjs.com
43 stars 4 forks source link

Install @tailwindcss/forms plugin for the New band form #520

Open balinterdi opened 3 years ago

balinterdi commented 3 years ago

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.

(The form is created in Controllers.)

The implementation work is done on this branch

balinterdi commented 2 years ago

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 🤔