Closed olimart closed 1 year ago
how did you start your new rails app, specifically? Did you start with --javascript=esbuild
or --css=boostrap
or both?
both --javascript=esbuild --css=boostrap
seems like it works for me following these steps
rails new Test3 --javascript=esbuild --css=bootstrap &&
cd Test3/ &&
bundle install && git add . && git commit -m "initial commit" &&
rails assets:precompile
Hey @jasonfb thanks for checking in. I gave it another try and it seems to be working.
The installation fails at different steps:
build
& build:css
not added to package.json
"@hotwired/turbo": "7.2.4"
in package.json
import * as Turbo from "@hotwired/turbo"
but at least I do see application.css
in the list of compiled files under public/assets
.
wil try to remember which commands I run when it was not working.
As per the README
However, no CSS file (
application.css
) makes it topublic/assets
when runningrails assets:precompile
(only JS).In
Package.json
I added build scriptI'm also using
sprockets-rails (3.4.2)
Any idea to get this working?