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
Can we write and use our own code generator? #71
Comments
Hi @aleksandrlat , yes it's possible - the full underlying model is available here: https://docs.plasmic.app/learn/model-quickstart/ Note that this is still quite early. First, the schema does evolve, but usually pretty incrementally/non-violently. Second, the main thing that's missing is documentation of the types. But sharing this in case it helps unblock you. Out of curiosity, what are you thinking of doing with that? |
Thank you @yang!
We have our design system and we use styled components in the code. Styled components is strict requirement for code base. So to get buy in from the team to use Plasmic I want to try to generate react styled components. I will read the docs. Do you have open source react code code generation? This can be a good example for me to see implementation. And I can re-use part of it for sure. |
Not at the moment, we do want to provide an open source codegen pipeline
but it is probably not landing soon enough, I'm sorry to say....
…On Mon, Mar 6, 2023, 12:28 PM Alexander Shartdinov ***@***.***> wrote:
Thank you @yang <https://github.com/yang>!
Out of curiosity, what are you thinking of doing with that?
We have our design system and we use styled components in the code. Styled
components is strict requirement for code base. So to get buy in from the
team I want to try to generate react styled components.
I will read the docs. Do you have open source react code code generation?
This can be a good example for me to see implementation. And I can re-use
part of it for sure.
—
Reply to this email directly, view it on GitHub
<#71 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAABXWIOS7SVDCZFZ3Z4SYDW2ZCG7ANCNFSM6AAAAAAVPXDISM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Is it possible to write and use our own code generator from Plasmic UI builder?
It would be nice if we could get some abstract model of components and render whatever code we want to render ourselves
The text was updated successfully, but these errors were encountered: