rubyonjets/jets

Add `--css tailwind` flag to jets cli

Closed this issue · 5 comments

Summary

Currently with rails you can type rails new my-project --css tailwind I would like to be able to duplicate this for jets.
If this is a feature you are ok with I can add this after you merge in v5 to avoid conflicts since its not urgent.

I added a quick how to in the jets support form in case someone searches tailwind
https://community.boltops.com/t/how-to-add-tailwind-css/1089

Motivation

Easily add styling to jets.

Guide-level explanation

Reference-level explanation

Drawbacks

Unresolved Questions

Sure. Tailwind would be cool.

Ok to add to current master. Unsure how long v5 may take, so just add to master and will figure out the conflicts to resolve.

Ok will start tomorrow.

do you have plans to migrate off of webpacker to Esbuild? If so i should probably do that first. @tongueroo

Yes. In jets v5, the default is importmaps and while webpacker will be around it'll be remove eventually like Rails.

After looking seems like its better to live in
rubyonjets/jetpacker#5

closing since its in another repo