by Semaphor · 3y ago · 0 comments
-----
I agree with the rest, but how do you use imported TS enums in your template? Something like this being impossible is regularly a pain point for me:
slotProps.data.type === ArticleTypes.SomeTypeOtherwise you also need to return it in the setup function (composition) or store a local copy of it in the data field (options)