From 02e90636b8f2dfbca4f3d9ca1c270bd25bd8cdde Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Thu, 2 May 2019 17:35:03 +0200 Subject: [PATCH] docs(gql in template): update note about vue-cli-plugin-apollo --- docs/guide/components/query.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/components/query.md b/docs/guide/components/query.md index e9ca064..80e29ba 100644 --- a/docs/guide/components/query.md +++ b/docs/guide/components/query.md @@ -87,7 +87,7 @@ export default { ``` -If you are not using `vue-cli-plugin-apollo`, you need to configure [vue-loader](https://vue-loader.vuejs.org) to transpile the string template tag. `vue-loader` uses [Bublé](https://buble.surge.sh/guide/) under-the-hood to transpile code inside component templates. We need to add the `dangerousTaggedTemplateString` transform to Bublé for `gql` to work. For example, with Vue CLI: +If you are not using [vue-cli-plugin-apollo](https://github.com/Akryum/vue-cli-plugin-apollo) (`v0.20.0+`), you need to configure [vue-loader](https://vue-loader.vuejs.org) to transpile the string template tag. `vue-loader` uses [Bublé](https://buble.surge.sh/guide/) under-the-hood to transpile code inside component templates. We need to add the `dangerousTaggedTemplateString` transform to Bublé for `gql` to work. For example, with Vue CLI: ```js // vue.config.js