matestack / matestack-ui-bootstrap

As an extension for Matestack Ui Core, Matestack Ui Bootstrap ships all you need to build beautiful, reactive UIs in pure Ruby and smart CRUD components based on Bootstrap v5. Don't think about styling anymore and just create admin or application UIs faster than ever before!
https://docs.matestack.io/matestack-ui-bootstrap
MIT License
11 stars 4 forks source link

Gem's custom CSS stylesheets not being used by Dummy app on local development #30

Closed aaron-contreras closed 1 year ago

aaron-contreras commented 1 year ago

What is the current behavior?

When bringing up the dummy app via

docker-compose run --rm dummy bash -c "cd spec/dummy; ./bin/webpack"
docker-compose up dummy

and visiting localhost:3000, there are several design and behavioral oddities because the stylesheets defined in the gem's source code are not being used by the dummy app.

Screenshots

localhost_mobile

Screenshot 2023-04-12 at 13 42 28

I see in spec/dummy/config/webpack/environment.js that it's not following the recommendation listed in the docs for the webpacker installation:

Commit where recommendation to docs was added in order not to use esm package with a webpacker configuration: https://github.com/matestack/matestack-ui-bootstrap/commit/af44ee1978b600dd21a815042a006388b92377a2

What is the expected behavior?

The dummy app on local development should load CSS stylesheets defined in the gem's source code.