-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User-defined function components #84
Comments
@TheFirstAvenger thoughts? |
@AZholtkevych this issue is a proposal to support |
@leandrocp if you would like to take care of it in the future, you can provide time estimations later on))) Thanks a lot |
@leandrocp looks good. This is the natural evolution of what |
@TheFirstAvenger sounds good 👍🏻 |
Have the templates string not use |
We have the same issue with |
Agreed. The target audience here for generating page content is not engineers, it is non-tech users. Asking users to add |
Closed by #423, #535, and BeaconCMS/beacon_live_admin#160 |
We want to allow users to define their own function components. That will
deprecateremove the existingmy_component
feature, see #84 (comment)The first step is to define such function components:
Similar to the
CoreComponents
provided by Phoenix, Beacon will provide aUserComponents
to hold user-defined components that can be created as:Which internally compiles to:
And then one can use it in layouts and pages:
Notes:
The text was updated successfully, but these errors were encountered: