Skip to content

Commit 5ad2237

Browse files
phyceifox
authored andcommitted
Update 02_creating-a-block-editor.md
Added additional information to run php artisan twill:build in order to get the icons to show up in the CMS
1 parent 530e501 commit 5ad2237

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: docs/content/1_docs/5_block-editor/02_creating-a-block-editor.md

+2
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,8 @@ See also [Default Configuration](./11_default-configuration.md).
393393

394394
If the `resource_path('assets/admin/icons')` directory contains a `my-custom-icon.svg` file, you can use this icon in your block by using its basename: `@twillBlockIcon('my-custom-icon')`.
395395

396+
In order to make the icons appear in the CMS, you'll need to run `php artisan twill:build`
397+
396398
## Use Block traits in your Model and Repository
397399

398400
Now, to handle the block data you must integrate it with your module. *Use* the *Blocks* traits in the Model and Repository associated with your module.

0 commit comments

Comments
 (0)