The team is now working on the WordPress Interactivity API. This unblocks the same UX Frontity framework enabled but directly in WordPress Core, fully compatible with the new Site Editor.
acabo de crear un nuevo proyecto con Frontity y he modificado el fichero packages/mars-theme/src/components/headers.js he eliminado la siguienrte linea.
{state.frontity.description}
Pero en la web sigue apareciendo la descripción, por mucho que modifique los componentes los cambios no se ven reflejados en la web.
mburridge3
Hi @xagustin93
Thanks for your query. Removing that line should remove the description from the header. Just wanted to check, have you tried clearing your browser cache?
mburridge4
@xagustin93
Here’s something else to try, change the description in the frontity.settings.js file at state.frontity.description. Does that change show up in the browser?
xagustin935
He entrado con varios navegadores, modo incógnito y nada te dejo dos capturas.
mburridge6
When I edit header.js in the same way the description disappears for me, so I’m not sure what’s going on for you. I’ll ask around the team and see if anyone has any ideas.
I’ll get back to you soon.
By the way, we usually try to reply in English in the forum, but you can translate the content following this guide .
mburridge7
Hi @xagustin93
We think it’s because you may be using yarn. Try running npx frontity dev or npm run dev instead of yarn dev.