Gomah / nuxt-graphql-request

Easy Minimal GraphQL client integration with Nuxt.js.
https://nuxt-graphql-request.vercel.app
MIT License
196 stars 16 forks source link

includeNodeModules #26

Closed MentalGear closed 3 years ago

MentalGear commented 3 years ago

Thanks for this module ! I'm wondering though why you set includeNodeModules to true in the example config, when you describe in the comment above the default is false. What is it used for ? Why activate it in the example config?

Gomah commented 3 years ago

Hey @MentalGear ,

It's similar to the the nuxt-apollo option:

In case you use *.gql files inside of node_module folder you can enable the graphql-tag/loader to parse the files for you.
MentalGear commented 3 years ago
In case you use *.gql files inside of node_module folder you can enable the graphql-tag/loader to parse the files for you.

Okay, that's a better explanation! Maybe add it to the example comment?