LogLevel
Configure Nuxt Logging
Dev Server Command
Add --log-level info
to dev server script in package.json
:
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev --host 192.168.5.555 --port 5555 --log-level info"
"generate": "nuxt generate",
"preview": "nuxt preview"
},
Nuxt Config
Configure LogLevel
in nuxt.config.ts
:
export default defineNuxtConfig({
logLevel: 'info'
})
Copyright @ 2024 Anne Brown