Toast Notifications with Tailwind and Stimulus | Ruby On Rails 7 Tutorial

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 13

  • @Deanin
    @Deanin  Год назад +4

    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.

  • @neonwatty
    @neonwatty 2 месяца назад

    Thanks! I used your overview to success with
    - importmap to add stimiulus notification (Rails 7.2.1) and
    - daisyui for styling

  • @FL4M3M4K3R
    @FL4M3M4K3R Год назад +2

    i do online school right now and you post videos just which i needed! like like like

  • @nmead33
    @nmead33 Год назад +2

    Thanks!

    • @Deanin
      @Deanin  Год назад

      Glad it was helpful! And thank you!

  • @tetyanagon3342
    @tetyanagon3342 9 месяцев назад +1

    TY!!! NJ! 💛💙

  • @moviekapsula
    @moviekapsula Год назад

    It's amazing, goog luck bro

  • @azizdevfull
    @azizdevfull Год назад

    Very Interesting snd useful vide : )

  • @LostInRaccoonCity
    @LostInRaccoonCity Год назад

    Hy deanin notifications#hide go to nothing and dont work in the stimulus controller !!! where can we find the #hide action code ? thanks

  • @guruhrachmat5106
    @guruhrachmat5106 3 месяца назад

    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

    • @guruhrachmat5106
      @guruhrachmat5106 3 месяца назад

      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

  • @stpaquet
    @stpaquet Год назад

    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 ;-)

  • @seriouslyiknowhowtoread
    @seriouslyiknowhowtoread Год назад

    tailwinds barf!