Skip to content
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

feat: typescript documentation #9

Open
BaptisteCool opened this issue Dec 9, 2020 · 1 comment
Open

feat: typescript documentation #9

BaptisteCool opened this issue Dec 9, 2020 · 1 comment

Comments

@BaptisteCool
Copy link

Hi, thanks for this plugin.

We are in typescript and we don't want to user decorator from 'vue-property-decorator'.

Did you tried with some typescript code ?

Is it possible to only disable the generated code and keep the component description ?

@jackkoppa
Copy link
Contributor

jackkoppa commented Dec 11, 2020

Hi, we've often used this with TypeScript, yup!

We typically use the object API for our TypeScript components, rather than classes / decorators, in case that's relevant.

But aside from that, could you possibly provide some before / after examples of what you'd be looking for in terms of the generated component code? i.e. what's not currently matching your expectations, & what the improvement would be?

And then if it's not possible to adjust that, we can definitely look into making the plugin configurable to turn off the component export; I haven't looked at the Zeplin plugins API in awhile, but I can't remember if it was possible to pass flags to plugins in the original implementation... 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants