Nitro and EJS combined?!

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

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

  • @hyperprotagonist
    @hyperprotagonist Месяц назад +1

    The look of disgust on Alex’s face in the intro… priceless. 😂

  • @QueeeeenZ
    @QueeeeenZ Месяц назад +1

    I'm a Nuxt dev, never heard of EJS in my life 😅

  • @designerjehovah4453
    @designerjehovah4453 Месяц назад

    YEEEEEESSSSSS!!!

  • @prishanf
    @prishanf Месяц назад

    Hi Alex,
    Thanks for the video! As usual, it was very informative, and I learned a lot.
    I'm working on a PDF generation app where the PDF is generated outside of my Nuxt app. I want to fetch the merged HTML data before sending it to the PDF generation service. I’ve considered using Handlebars, and now I'm also exploring EJS as an option.
    However, I’m wondering-why can’t we use Vue to get the HTML on the server side and send that to the PDF service? Do you have an example of how to render a Vue component's HTML on the server side?
    Thanks again for your insights!

    • @TheAlexLichter
      @TheAlexLichter  Месяц назад

      You should be able to do that with a server component!