Node/Nuxt.js: Difference between revisions
< Node
Jump to navigation
Jump to search
No edit summary |
|||
| Line 12: | Line 12: | ||
<syntaxhighlight lang="powershell"> | <syntaxhighlight lang="powershell"> | ||
$ nuxt dev | |||
│ 2:14:45 PM | |||
● Nuxt 4.5.2 (with Nitro 2.13.4, Vite 8.2.2 and Vue 3.5.42) | |||
2:14:45 PM | |||
➜ Local: http://localhost:3000/ | |||
➜ Network: use --host to expose | |||
➜ DevTools: press Shift + Alt + D in the browser (v3.4.2) 2:14:58 PM | |||
WARN [NUXT_B8014] Module @nuxt/devtools was slow to set up, taking 7352.2ms. 2:14:58 PM | |||
╰▶ fix: Defer expensive operations to a later hook (e.g. build:before) to reduce startup time. | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 06:15, 9 September 2026
npm create nuxt@latest test-nuxt
cd test-nuxt
pnpm approve-builds
pnpm dev
Trouble Shooting
Slow in WSL
$ nuxt dev
│ 2:14:45 PM
● Nuxt 4.5.2 (with Nitro 2.13.4, Vite 8.2.2 and Vue 3.5.42)
2:14:45 PM
➜ Local: http://localhost:3000/
➜ Network: use --host to expose
➜ DevTools: press Shift + Alt + D in the browser (v3.4.2) 2:14:58 PM
WARN [NUXT_B8014] Module @nuxt/devtools was slow to set up, taking 7352.2ms. 2:14:58 PM
╰▶ fix: Defer expensive operations to a later hook (e.g. build:before) to reduce startup time.
Cannot access WSL Ubuntu
New-NetFirewallRule -DisplayName "Nuxt WSL Port 3000" -Direction Inbound -LocalPort 3000 -Protocol TCP -Action Allow