mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
docs: update
This commit is contained in:
parent
fb27f3f37d
commit
b4e28c6170
@ -262,15 +262,6 @@ export default defineUntypedSchema({
|
|||||||
* logs hook arguments as well in the browser.
|
* logs hook arguments as well in the browser.
|
||||||
*
|
*
|
||||||
* You can also set this to an object to enable specific debug options.
|
* You can also set this to an object to enable specific debug options.
|
||||||
* ```js
|
|
||||||
* {
|
|
||||||
* log: true, // Log additional information on terminal
|
|
||||||
* hooks: true, // Log hooks calls and timings
|
|
||||||
* nitro: true, // Set nitro debug mode
|
|
||||||
* browser: true, // Log additional information in browser console
|
|
||||||
* prod: true // Log additional information in production mode (hydration mismatch, etc.)
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
*
|
*
|
||||||
* @type {boolean | (typeof import('../src/types/debug').NuxtDebugOptions) | undefined}
|
* @type {boolean | (typeof import('../src/types/debug').NuxtDebugOptions) | undefined}
|
||||||
*/
|
*/
|
||||||
|
@ -1,12 +1,19 @@
|
|||||||
import type { NitroOptions } from 'nitro/types'
|
import type { NitroOptions } from 'nitro/types'
|
||||||
|
|
||||||
export interface NuxtDebugOptions {
|
export interface NuxtDebugOptions {
|
||||||
|
/** Debug for Nuxt templates */
|
||||||
templates?: boolean
|
templates?: boolean
|
||||||
|
/** Debug for modules setup timings */
|
||||||
modules?: boolean
|
modules?: boolean
|
||||||
|
/** Debug for file watchers */
|
||||||
watchers?: boolean
|
watchers?: boolean
|
||||||
|
/** Debug options for Nitro */
|
||||||
nitro?: NitroOptions['debug']
|
nitro?: NitroOptions['debug']
|
||||||
|
/** Debug for production hydration mismatch */
|
||||||
hydration?: boolean
|
hydration?: boolean
|
||||||
|
/** Debug for Vue Router */
|
||||||
router?: boolean
|
router?: boolean
|
||||||
|
/** Debug for hooks, can be set to `true` or an object with `server` and `client` keys */
|
||||||
hooks?: boolean | {
|
hooks?: boolean | {
|
||||||
server?: boolean
|
server?: boolean
|
||||||
client?: boolean
|
client?: boolean
|
||||||
|
Loading…
Reference in New Issue
Block a user