How to use Botpress in Next.js 13

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ย. 2024

ความคิดเห็น • 5

  • @illuminaughty666
    @illuminaughty666 ปีที่แล้ว +1

    Perfect 👍 this is what I was looking for

  • @benjaminoyarzun6563
    @benjaminoyarzun6563 ปีที่แล้ว +1

    hey man do you think you could update the github link? I think it's down, can't clone it

  • @albiceleste101
    @albiceleste101 ปีที่แล้ว +1

    Nice, the problem with this approach though is that you're forced to "use client" on layout losing all the benefits of server components
    Instead you can put this in a component and import it in layout or wherever you want, also you don't need to put Script inside the head

    • @J-HAYER
      @J-HAYER  ปีที่แล้ว

      True words ! Thanks, but what is the benefit of placing the script into the body ?

    • @albiceleste101
      @albiceleste101 ปีที่แล้ว +1

      I think it's only for performance@@J-HAYER
      It's a Next message called "no-script-tags-in-head-component"