How to Add an App Icon to Your Next.js 13 Project

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

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

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

    This is great Next.js does it all even icons!

  • @maskman4821
    @maskman4821 Год назад +1

    very useful and practical, thank you ❤

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

    Thank you for the video! I'm wondering what was your icon.png and apple-icon.png sizes?

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

      I used 512px by 512px

  • @MORED3
    @MORED3 10 месяцев назад

    thanks for the tutorial

  • @xiaoyy6084
    @xiaoyy6084 Год назад +3

    Do you really need to copy the link tag to layout? Copying the ico to /app should be enough.

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

      yeah you can do that too

    • @nicolasbrandaor
      @nicolasbrandaor 10 месяцев назад +3

      @@hqasmei Hi! I think you made a mistake, there's no need to include the output code to a head tag in your layout. That's just an example of the generated code Next inserts into your code when the application is built. If you're not generating icons with icon.tsx, all you gotta do is place the images in the root folder. Next will take care of generating the link tags inside the head tag of your build.

    • @hqasmei
      @hqasmei  10 месяцев назад +1

      @@nicolasbrandaor you are 100% correct Nicolas, thank you!

  • @boyywnkobe
    @boyywnkobe 10 месяцев назад

    how to add startup image when app is opening

  • @mehdijafarzade2381
    @mehdijafarzade2381 8 месяцев назад

    💯💯💯💯