Under The Hood

Code Generation

Composables are automatically generated by WPNuxt based on predefined queries as well as your own custom queries.

This is done with the help of GraphQL-Codegen

Composables

Composables are generated based on the given queries.

prefix

Default prefix: useWP

Can be changed in config:

wpNuxt: {
    ...
    composablesPrefix: 'use'
},

Types

fragment -> type


Copyright © 2024 WPNuxt