Open ghost opened 9 months ago
I see that all the icons are added to the following file: "_nuxt/assets/sprite/gen/icons.svg".
Is there a way we can directly add the contents of the file to the body and not access it via a URL?
I am trying to load the icon in the below manner and was wondering if this was possible:
h('use', { attrs: { 'xlink:href': `#${iconID}`, }, })
Also, thank you for all your hard work.
I see that all the icons are added to the following file: "_nuxt/assets/sprite/gen/icons.svg".
Is there a way we can directly add the contents of the file to the body and not access it via a URL?
I am trying to load the icon in the below manner and was wondering if this was possible:
Also, thank you for all your hard work.