Closed fayazara closed 1 year ago
I believe this will be resolved in RC11. Cc @pi0 @danielroe
Tested on Nuxt Edge and works, can you confirm too @fayazara?
Is nuxt edge a preview branch? @Atinux How do I use it?
[vite:vue] Transform failed with 2 errors: 7:09:01 PM: /opt/build/repo/node_modules/nuxt-icon/dist/runtime/Icon.vue:8:0: ERROR: Transforming const to the configured target environment ("ES5") is not supported yet 7:09:01 PM: /opt/build/repo/node_modules/nuxt-icon/dist/runtime/Icon.vue:10:2: ERROR: Transforming const to the configured target environment ("ES5") is not supported yet
can you all advice me tsconfig "compilerOptions" target
Icon.vue:52 Uncaught TypeError: Cannot read properties of undefined (reading 'accept') at Icon.vue:52:102
@sigliblog That seems like a different issue. Would happily look at it; would you mind opening a new issue with a reproduction? 🙏
In my testing I can't reproduce this issue with RC11, so I'm closing it for now (but would welcome a new issue as mentioned above).
I am using this module and when I use it with RC10s full static mode. It does not render the icon, adds the icon name as a string.
As you can see, it is just using the fallback as the icon name instead of rendering the svg
<span v-else class="icon" :style="{ fontSize: sSize, lineHeight: sSize, width: sSize, height: sSize }">{{ name }}</span>
CC: @Atinux