Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document module configuration options in WPNuxtConfig #106

Open
vernaillen opened this issue May 18, 2024 · 0 comments
Open

Document module configuration options in WPNuxtConfig #106

vernaillen opened this issue May 18, 2024 · 0 comments

Comments

@vernaillen
Copy link
Collaborator

e.g.:

export interface WPNuxtConfig {
  /**
   * Log level for the WPNuxt module
   * @default 3
   */
  logLevel?: LogLevel

  /**
   * URL of the WordPress site
   *
   * There is no default value for this option, so it's required.
   *
   * @example 'https://wordpress.wpnuxt.com'
   */
  wordpressUrl: string

  /**
   * Download the GraphQL schema and store it on disk.
   *
   * When setting this to false, the module will expect a graphql.schema file to be available.
   * You could first enable this, commit the schema file and then set downloadSchema to false to avoid have to query the graphql introspection on each start of the application
   *
   * @default true
   */
  downloadSchema?: boolean
}
@vernaillen vernaillen changed the title Document module configuration options in WPNuxtConfig type Document module configuration options in WPNuxtConfig May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant