Replies: 3 comments
-
Hi @azernov, this command is not needed in Twill 2 and 3, it is legacy from when we were generating Vue components from Blade defined blocks, which isn't necessary anymore. Which part of the docs are you following? |
Beta Was this translation helpful? Give feedback.
-
Hi, Quentin (@ifox) I've tried different ways according to these guides: I understand, there are some parts from previous version (for example, I prepare BlockMarkdown.vue file by `php artisan twill:blocks. Without this command when I add new block to page (in browser at cms page) it appears with empty content part. |
Beta Was this translation helpful? Give feedback.
-
It seems, i got it ) I skipped the following part 😄 :
So, if I understood correctly, I have to make BlockMarkdown.vue manually in |
Beta Was this translation helpful? Give feedback.
-
I've tried to add custom form field as it described in documentation. But when I run
php artisan twill:blocks
I get error:I found the problem:
twill/src/Commands/GenerateBlocks.php
Line 83 in f9a096a
Perhaps, there should be
$blockName
, but not$basename
.Beta Was this translation helpful? Give feedback.
All reactions