Registering Custom Relationship Vue Component #7188
-
I have just started Statamic and am making a custom relationship component to link to items in my database. With reference to the custom Vue Components: https://statamic.dev/extending/relationship-fieldtypes#customizing-the-view Where do I register the component? I have added resources/js/cp.js to my webpack and added the above line in there but I don't see my component. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Give https://statamic.dev/extending/control-panel a read through. Specifically this bit: Statamic.booting(() => {
Statamic.$components.register('password-fieldtype', Password);
}); |
Beta Was this translation helpful? Give feedback.
Give https://statamic.dev/extending/control-panel a read through.
Specifically this bit: