Junyao111

Joined

680 Experience
6 Lessons Completed
0 Questions Solved

Activity

Hi, does the revised version is build from scratch ?
I noticed it seems like from the start of the video, you have created the project and created some models.
Can I know which episodes should I watched before this video ?

Posted in How to use Bootstrap with Webpack & Rails Discussion

Hi Chris,
thanks for your reply.
I just recreate a rails project, add bootstrap and config everything follow your video. And when I put a toast html block in page, it did show.
but when I run $('#toast').toast('hide') in browser's console, it still warning

Uncaught TypeError: $(...).toast is not a function
at <anonymous>:1:13

is there any thing wrong about how I use toast() function.

Posted in Can not use toast of bootstrap in rails

I did yarn add bootstrap jquery popper.js and import bootstrap into the app.
Also, bootstrap's popover and tooltip style works well.
But when I add a toast in page and run $('div.toast').toast('show') in chrome's console, it says $(...).toast is not a function
Do you know what's wrong?

Posted in How to use Bootstrap with Webpack & Rails Discussion

Hi Chris,
I did yarn add bootstrap jquery popper.js and import bootstrap into the app.
Also, bootstrap's popover and tooltip style works well.
But when I add a toast in page and run $('div.toast').toast('show') in chrome's console, it says $(...).toast is not a function
Do you know what's wrong?