Twill is an open source CMS toolkit for Laravel that helps developers rapidly create a custom admin console that is intuitive, powerful and flexible. Chat with us on Discord at https://discord.gg/cnWk7EFv8R.
I am trying to make a custom component for adding custom buttons to a wysiwyg field in twill admin forms.
I've created a project from scratch trying to implement the steps. This github repo: Twill From Test
in resources/views/twill/partials/form/_hello-world.blade.php:<a17-hello-world name="test"></a17-hello-world>
and in my form:
@formField('hello-world')
last step is that i execute this to build the component
php artisan twill:build
Expected result
Renders "Hello test" on my form
Actual result
The component is not loaded. In the place where the component should be loaded it's not working.
If the vue component is loaded @formField('hello-world') it doesn't work and also like this <a17-text-edit></a17-text-edit>
Description
I am trying to make a custom component for adding custom buttons to a wysiwyg field in twill admin forms. I've created a project from scratch trying to implement the steps. This github repo: Twill From Test
Steps to reproduce
in
resources/assets/js/components/HelloWorld.vue
in
resources/views/twill/partials/form/_hello-world.blade.php:
<a17-hello-world name="test"></a17-hello-world>
and in my form:
@formField('hello-world')
last step is that i execute this to build the component
php artisan twill:build
Expected result
Renders "Hello test" on my form
Actual result
The component is not loaded. In the place where the component should be loaded it's not working. If the vue component is loaded
@formField('hello-world')
it doesn't work and also like this<a17-text-edit></a17-text-edit>
Versions