Let's Learn AdonisJS 6: Ep 3.5 - Extracting A Layout Component

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

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

  • @sharkpyro93
    @sharkpyro93 5 месяцев назад

    for some reason as soon as i start using layouts the server returns .txt instead of html, i tried everything what am i doing wrong?

    • @sharkpyro93
      @sharkpyro93 5 месяцев назад

      nevermind i realized i was looking at the wrong docs

    • @Adocasts
      @Adocasts  5 месяцев назад +1

      @@sharkpyro93 Ah cool, glad you were able to get it figured out! 😀

    • @sharkpyro93
      @sharkpyro93 5 месяцев назад

      @@Adocasts yea turns out the new reference for layouts in Edge 6 is to use the Component synthax

    • @Adocasts
      @Adocasts  5 месяцев назад

      ​@@sharkpyro93 Yep! Behaviorly they were very similar to components anyways.

    • @sharkpyro93
      @sharkpyro93 5 месяцев назад

      @@Adocasts minus the reactivity but yes, nothing that cannot be fixed with htmx or similar solutions