Come implementare "raw-plugin-outlet"

Benvenuto! Scusa se non è stato risposto prima, ma speriamo che questo possa aiutare qualcuno…

Per utilizzare una raw plugin outlet devi creare un file hbr, come in questo esempio:
/connectors/topic-list-before-status/my-content.hbr

Se stai aggiungendo HTML statico, puoi inserirlo direttamente in quel file.

Se invece desideri aggiungere una logica personalizzata, puoi utilizzare questa struttura:

/raw-views/my-object.js

/templates/my-object.hbr

e all’interno del tuo file /connectors/topic-list-before-status/my-content.hbr aggiungerai:

{{my-object}}

3 Mi Piace