We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When using this in Nuxt3 SSR mode, I get "DOMParser is not defined."
To Reproduce Steps to reproduce the behavior:
nuxt generate
Expected behavior I'd expect the icons to build even without DOMParser (which is only available in a browser context, not in server side Node)
As a first stab at fixing this, I imported this library
import {DOMParser, parseHTML} from 'linkedom'
at the top of dist/bootstrap-vue-next-icons.mjs. It works, but I am not sure if this is an optimal solution.
dist/bootstrap-vue-next-icons.mjs
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
When using this in Nuxt3 SSR mode, I get "DOMParser is not defined."
To Reproduce
Steps to reproduce the behavior:
nuxt generate
Expected behavior
I'd expect the icons to build even without DOMParser (which is only available in a browser context, not in server side Node)
As a first stab at fixing this, I imported
this library
import {DOMParser, parseHTML} from 'linkedom'
at the top of
dist/bootstrap-vue-next-icons.mjs
. It works, but I am not sure if this is an optimal solution.The text was updated successfully, but these errors were encountered: