Open SimonSimCity opened 1 year ago
Based on PR #41, this PR provides a generator which generates a Typescript type for the name of icons.
The changes done here are heavily inspired by the package https://github.com/victorgarciaesgi/nuxt-typed-router.
I also tried making the path dynamic, but this doesn't seem to be possible (https://github.com/vitejs/vite/issues/5478)
Based on PR #41, this PR provides a generator which generates a Typescript type for the name of icons.
The changes done here are heavily inspired by the package https://github.com/victorgarciaesgi/nuxt-typed-router.
I also tried making the path dynamic, but this doesn't seem to be possible (https://github.com/vitejs/vite/issues/5478)