gatsby image svg not found

后端 未结 4 1493
面向向阳花
面向向阳花 2021-02-14 07:05

When trying to load an SVG image this way:

export const query = graphql`
    query {
        fileName: file(relativePath: { eq: \"logo_large.svg\" }) {
                  


        
4条回答
  •  感动是毒
    2021-02-14 07:34

    SVG are not supported by this plugin for obvious reasons, they are vectorial and automatically adjust their size without the need of plugin like this one

提交回复
热议问题