Add stuff to HTML head


Tinn Aphopchung

Hi, David.

How can I add code on head in index.html via App builder manually?

I develop PWA app.Your AB didn't generate some code that PWA need.

ref.https://pwastarter.com


DecSoft

Hello Tinn,

At designtime, we can use the Metatags app's option, since the metatags are placed in the HTML head. At runtime it's also possible, using a code similar than the below, for example, at the app's Mounted event, or maybe the app's DomReady event.



Tinn Aphopchung
Thanks, David. I will use the Metatags app's option.

Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.

This website uses some useful cookies to store your preferences.

I agree. Hide this note. Give me more information.