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

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

Open
yankie9486 opened this issue Jul 20, 2019 · 0 comments

Comments

@yankie9486
Copy link

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')
}
}

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