Option to automatically create block templates #20091
richarth
started this conversation in
Features and ideas
Replies: 1 comment
-
Just keep in mind in headless setup we don't need the razor partial views. However I am not sure how we should decide if the partial view should be created in blocklist or blockgrid for as it depends on if the block has been configured in block list /grid datatype and intially it doesn't know about this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When adding a block to a block list or block grid, you have to manually go into /views/partials/blockgrid/components/ or /views/partials/blocklist/components/ and create a partial view for your block.
It would be nice when creating your block, if there was a option to automatically create that partial for you, in the same way as creating a doc type with a template does.
Beta Was this translation helpful? Give feedback.
All reactions