feat: Setup GraphQL with dynamic node routing logic
This commit is contained in:
17
wp-content/themes/headless/graphql.config.json
Normal file
17
wp-content/themes/headless/graphql.config.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"schema": "./.nuxt/graphql/schema.graphql",
|
||||
"documents": [
|
||||
"./app/**/*.{gql,ts,vue}",
|
||||
"./server/**/*.{gql,ts}",
|
||||
"./shared/**/*.{gql,ts}"
|
||||
],
|
||||
"extensions": {
|
||||
"codegen": {
|
||||
"config": {
|
||||
"scalars": {
|
||||
"ZodValue": "unknown"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user