Skip to content

are magic comments or ways to manipulate how the components are transpiled to another framework? #1006

Answered by samijaber
rssilvaba asked this question in Q&A
Discussion options

You must be logged in to vote

It depends on the specific way you want to manipulate the output. We have a customizable plugin system that lets you alter the JSON schema of the component, and the string output of generators: https://github.com/BuilderIO/mitosis/blob/main/docs/customizability.md

If the limitation you're encountering cannot be fixed by a simple user-land plugin, we are always open to having a contribution or change made to the Angular generator itself, in this case as a configuration option (hasWrapper: boolean) passed to the Angular generator.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rssilvaba
Comment options

Answer selected by rssilvaba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants