generated from pascalmartineau/wp-skeleton
feat: Initial useNodeByUri
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 59s
All checks were successful
Deploy WordPress and Nuxt / deploy (push) Successful in 59s
This commit is contained in:
9
wp-content/themes/ccat/app/composables/useNodeByUri.gql
Normal file
9
wp-content/themes/ccat/app/composables/useNodeByUri.gql
Normal file
@@ -0,0 +1,9 @@
|
||||
query nodeByUri($uri: String!) {
|
||||
nodeByUri(uri: $uri) {
|
||||
__typename
|
||||
id
|
||||
... on Page {
|
||||
...ThePage
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user