Skip to content
New issue

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

SVG is not available via publicPath URL when module is active #60

Open
nirazul opened this issue Oct 8, 2020 · 0 comments
Open

SVG is not available via publicPath URL when module is active #60

nirazul opened this issue Oct 8, 2020 · 0 comments

Comments

@nirazul
Copy link

nirazul commented Oct 8, 2020

Versions
nuxt: v2.14.6
node: v14.6.0
netlify-cms: v2.10.61

Reproduction
When trying to display an svg under the default public path, the SVG is not visible. For example with the config:
{ buildModules: [ '@nuxtjs/svg', '@nuxt/content' ] }
having an svg file in /static/logo.svg is not available when opening the url /_nuxt/static/logo.svg. When I disable the module @nuxtjs/svg, the file is available again.

Steps to reproduce
Run command nuxt dev with and without the module

What is Expected?
The file is always available

What is actually happening?
The module stops the svg from being served

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant