Closed alessioraggioli closed 1 year ago
@alessioraggioli graphql-tag is a dev dependency of this project, so you would have to install it within your own project.
@art-boer just installed graphql-tag
via pnpm add graphql-tag
but the issue persists. Are there any additional steps that need to be taken or preferred method of installation?
Moving @nuxtjs/apollo
to my dev dependencies seemed to have done the trick 👍
Environment
^5.0.0-alpha.4
Describe the bug
Hi, I have updated my project to nuxt 3, these are the packages i'm using:
"@nuxtjs/apollo": "^5.0.0-alpha.4", "nuxt": "3.0.0"
after the updating i got the error: "gql is not defined", calling this function
_export function GQLsignAuth(payload) { return gql
mutation { signAuth( ticketSso: "${payload.token}" product: 12 acl: [sso, provisioning] ) { ticketSso jwt profile roles } }
}Expected behaviour
gql query working
Reproduction
No response
Additional context
No response
Logs
No response