mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 09:25:54 +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.
|
||||
*
|
||||
* 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}
|
||||
*/
|
||||
|
@ -1,12 +1,19 @@
|
||||
import type { NitroOptions } from 'nitro/types'
|
||||
|
||||
export interface NuxtDebugOptions {
|
||||
/** Debug for Nuxt templates */
|
||||
templates?: boolean
|
||||
/** Debug for modules setup timings */
|
||||
modules?: boolean
|
||||
/** Debug for file watchers */
|
||||
watchers?: boolean
|
||||
/** Debug options for Nitro */
|
||||
nitro?: NitroOptions['debug']
|
||||
/** Debug for production hydration mismatch */
|
||||
hydration?: boolean
|
||||
/** Debug for Vue Router */
|
||||
router?: boolean
|
||||
/** Debug for hooks, can be set to `true` or an object with `server` and `client` keys */
|
||||
hooks?: boolean | {
|
||||
server?: boolean
|
||||
client?: boolean
|
||||
|
Loading…
Reference in New Issue
Block a user