You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When use typescript in project i usually use enum as safe way to store config values. With composition api setup function we can do like this without issue:
When use script setup , editor still accept write enum and pass to template, but in runtime it not actually foward enum to template :
can we update this part to accept enum as normal static plain object in template.
Thank you!
The text was updated successfully, but these errors were encountered:
Hi!
version: plugin v0.5.6 - nuxt 2.15.8
When use typescript in project i usually use
enum
as safe way to store config values. With composition api setup function we can do like this without issue:When use script setup , editor still accept write enum and pass to template, but in runtime it not actually foward enum to template :
can we update this part to accept enum as normal static plain object in template.
Thank you!
The text was updated successfully, but these errors were encountered: