Replies: 3 comments 2 replies
-
Hi @sebapusch, Here's a short tutorial that can complement the one you mentioned: https://gist.github.com/pboivin/19d49cbb3c0a6c5c06469117597cc0f7 This will depend on your use case but there's a chance you don't actually need to create a Vue.js block. You'll have the same flexibility with a Blade block and a basic Vue.js component. |
Beta Was this translation helpful? Give feedback.
-
So apparently what I did not understand is that you can only use custom vue components inside form layouts. What I was trying to do was using it inside a free layout. Does anyone have a suggestion on how to manipulate the default bulk edit behavior without building everything from scratch? And what do you think about adding custom bulkEdit actions in the future? I think it would be very helpful. Last, what I need to do is bulk export, I saw from the code it is under todo, does someone have any info on that? |
Beta Was this translation helpful? Give feedback.
-
Have you had success with this @sebapusch ? I am seeing as well instead of seeing my component rendering. I have used tabs and currency_custom_field as the Twill shows on its documentation, but even with these examples I have had success. cc @pboivin |
Beta Was this translation helpful? Give feedback.
-
I am trying to add a custom block on twill 2.5.3 as described here:
https://spectrum.chat/twill/tips-and-tricks/adding-a-custom-block-to-twill-admin-view-with-vuejs~028d79b1-b3cd-4fb7-a89c-ce64af7be4af
I did everything as described there, except using
instead of adding these configurations in the
twill.php
config file.I am unable to see the computed file, instead I see my
<a17-block-component>
tag in the HTML, as well as these propertiesrendered as standard text.
What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions