Barely got this out in time! Super busy lately, so sorry for the jumpscares with the uploads haha. Hopefully you still find this one useful! Had a lot of fun this morning making this. Forgot to run the server with bin/rails and wasted half an hour wondering why the Stimulus wasn't working lmao.
hello, I'm using rails 7. following the tutorial to create a notification if the email/password is wrong on the gem devise. but I get the following error Uncaught TypeError: Failed to resolve module specifier "@stimulus-components/notification". Relative references must start with either "/", "./", or "../". can you help me find the solution
sorry, apparently I had to run the command bin/importmap pin @stimulus-components/notification and after that it worked The question is why it doesn't work with npm install @stimulus-components/notification
Cannot foreman be installed globally instead of a project by project. As starting somewhere Rails 6 or 7 it was introduced and became the defacto gem you need to run your projects ;-)
Barely got this out in time! Super busy lately, so sorry for the jumpscares with the uploads haha.
Hopefully you still find this one useful! Had a lot of fun this morning making this. Forgot to run the server with bin/rails and wasted half an hour wondering why the Stimulus wasn't working lmao.
Thanks! I used your overview to success with
- importmap to add stimiulus notification (Rails 7.2.1) and
- daisyui for styling
i do online school right now and you post videos just which i needed! like like like
Thanks!
Glad it was helpful! And thank you!
TY!!! NJ! 💛💙
It's amazing, goog luck bro
Very Interesting snd useful vide : )
Hy deanin notifications#hide go to nothing and dont work in the stimulus controller !!! where can we find the #hide action code ? thanks
hello, I'm using rails 7. following the tutorial to create a notification if the email/password is wrong on the gem devise. but I get the following error
Uncaught TypeError: Failed to resolve module specifier "@stimulus-components/notification". Relative references must start with either "/", "./", or "../".
can you help me find the solution
sorry, apparently I had to run the command bin/importmap pin @stimulus-components/notification and after that it worked
The question is why it doesn't work with npm install @stimulus-components/notification
Cannot foreman be installed globally instead of a project by project. As starting somewhere Rails 6 or 7 it was introduced and became the defacto gem you need to run your projects ;-)
tailwinds barf!