Skip to content

vue-svg-loader giving Error: Cannot query field "allWordPressP ost" on type "Query". #17

Open
@yankie9486

Description

When added the code below to the gridsome.config.js. It gives the Error: Cannot query field "allWordPressPost" on type "Query". When remove the code below it error disappears but the svg don't load. I just added svg inline.

module.exports = {
chainWebpack: config => {
const svgRule = config.module.rule('svg')
svgRule.uses.clear()
svgRule
.use('vue-svg-loader')
.loader('vue-svg-loader')
}
}

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions