esbuild instead of webpack for js and stimulusjs #1312
-
Someone can help me to orginize my components like here:
without webpack(er)? I'm using Rails 7 with sprockets and esbuild. I read this issue #1064 for connect stimulusjs to component and tried something like these all: // app/javascript/controllers/index.js
import ReviewComponentController from "../../components/review_component/review_component_controller"
application.register("review-component", ReviewComponentController) # app/assets/config/manifest.js
//= link_tree ../components // app/javascript/application.js
import "../components" But it's not works for me. Also I don't know how js component (not stimulus) should works together with component too. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Did you find out, how to use it with esbuild? @enotikalt |
Beta Was this translation helpful? Give feedback.
-
Closing. We have decided not to explicitly support any particular CSS/JS architecture due to the frequent churn in those areas. |
Beta Was this translation helpful? Give feedback.
Closing. We have decided not to explicitly support any particular CSS/JS architecture due to the frequent churn in those areas.