Get Started With Nuxt's Runtime Config API

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 15

  • @Gaijin101
    @Gaijin101 Рік тому +3

    Nuxt truly makes complex things simple. Wish React frameworks had DX as good as Nuxt and as fully featured.

  • @TheAlexLichter
    @TheAlexLichter Рік тому +1

    Great summary 👌🏻

  • @patriciomuriega4507
    @patriciomuriega4507 11 місяців тому

    Great video! Could you help me out with an issue? How do you do when you need to set different environments? On my vue projects, I would normally use .env.development and .env.production and this was enough. I can't get this to work on Nuxt.
    Thanks!

  • @VELIXYZ
    @VELIXYZ Рік тому

    Thank you!
    I always think about what if i use ssr: false and i need to use private env. That i don't want to share. How i can use it?

  • @tony-gx7rt
    @tony-gx7rt 11 місяців тому

    is there a playlist for the vuejs 3 composition api or maybe u are plaanig a course etc. because i really like your content i would like to learn vue from ur channel but it is hard to navigate through the videos randomly

  • @Bawar33
    @Bawar33 11 місяців тому

    Great video, thanks .

  • @Norfeldt
    @Norfeldt Рік тому

    I think I have missed the point. 😅 Why not do process.env.NUXT_API_KEY in your code instead?

    • @JohnKomarnicki
      @JohnKomarnicki  Рік тому

      The runtimeConfig is for private or public tokens that need to be specified after the build using environment variables.
      This is ideal for sensitive information or values that may change between different environments.

    • @Norfeldt
      @Norfeldt 11 місяців тому

      But does nuxt not compile the front end and back end in such a way that using the naming convention it's behaving that way? That's how some of the other frameworks, I have tried, is doing it. I'm very new to nuxt..

  • @виртуоз_ру
    @виртуоз_ру Рік тому

    Хорош 👍

  • @tony-gx7rt
    @tony-gx7rt 11 місяців тому

    i have been thru the crash course already