News for hackers. Stuff that matters.
Re:Migrating from Vue 2 to Svelte by Pokerkoffer on Friday December 02, 2022 @02:07AM (#33827750)
Store a reference to the enum locally then you can use it in templates
Re:Migrating from Vue 2 to Svelte by Semaphor on Friday December 02, 2022 @02:11AM (#33827771)
Yeah, but that’s an ugly workaround and how I understand what OP was talking about with global enums.