-
I'm trying to use Carbon Fields blocks and want to use the blade template in sage theme to output the block. I managed to call use the view but it doesn't have any data.
Is there a way to make carbon fields block working with sage blade template? any pointer would be appreciated. |
Beta Was this translation helpful? Give feedback.
Answered by
sariyanta
Nov 16, 2022
Replies: 1 comment
-
For those who might want to do the same, I figured out how to use the blade template in sage theme to render the carbon-fields block. The block contents need to be passed as the second argument in de view method in an array like below.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sariyanta
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For those who might want to do the same, I figured out how to use the blade template in sage theme to render the carbon-fields block.
The block contents need to be passed as the second argument in de view method in an array like below.