rubyforgood / shelter-assist

Software to help foster-based animal rescues keep track of their animals and people.
14 stars 13 forks source link

Fixes No route matches for tailwind.css #68

Closed AliTopal89 closed 2 years ago

AliTopal89 commented 2 years ago

On github actions I saw errors coming from tailwind.css such as

HomesTest#test_visiting_the_index:
ActionController::RoutingError: No route matches [GET] "/node_modules/tailwindcss/tailwind.css"

Followed tailwind installation docs and I don't really see a reference to vue or react installation in this repo yet, so I explicitly imported them without the .css extension, which is what causes the tests to error out both locally and on CI pipeline.

I am not familiar with tailwind, it is perhaps possible to just to do @import "../../../node_modules/tailwindcss/tailwind"; without breaking functionality as tests passes when just tailwind is imported