Bastien MONTOIS

Joined

220 Experience
2 Lessons Completed
0 Questions Solved

Activity

Posted in How to use Bootstrap with Webpack & Rails Discussion

Find the solution in the @Jun Jiang repo cybros_core.
We need to expose jQuery to the window object :

# packs/application.js

import JQuery from 'jquery';
window.$ = window.JQuery = JQuery;

Posted in How to use Bootstrap with Webpack & Rails Discussion

Hey, same issue here, did you find anything out?

Thanks.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.