Como adicionar favicon em loja VTEX IO

Alguém poderia me auxiliar no preenchimento desses dados? Tentando adicionar o Favicon mas não consigo.

1 Like

Olá @gleyciane.costa, tudo bem?

Eu tentaria usar o componente Helmet que permite adicionar tags HTML dentro da tag <head> de uma página.

import React from 'react'
import { Helmet } from 'vtex.render-runtime'
import favicon from './images/favicon.png'

function MyComponent() {
  return (
    <>
      <Helmet>
        <link rel="icon" href={favicon} />
      </Helmet>
    </>
  )
}

export default MyComponent
1 Like

vou tentar isso!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.