new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Nuxt · Getting started · all subjects

installation/prerequisites

7 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Node.js version requirement

Node.js version 22.x or newer is required. The active LTS release is recommended. An even-numbered version (22, 24, etc.) should be used for optimal setup.

Recommended text editors for Nuxt

Visual Studio Code with the official Vue extension (Volar) or WebStorm with other JetBrains IDEs offer great Nuxt support. Other editors like Neovim can be configured with Vue Language Server support by following Vue Language Tools setup guides.

Terminal requirement

A terminal is required to run Nuxt commands.

Slow HMR on Windows with WSL fix

If using Windows and experiencing slow HMR, try using WSL (Windows Subsystem for Linux) which may solve some performance issues.

Windows slow DNS resolution workaround

On Windows for local dev server, use `127.0.0.1` instead of `localhost:3000` for a much faster loading experience in browsers.

Neovim Vue TypeScript plugin configuration

When configuring the Vue TypeScript plugin in Neovim, make sure the `location` points to the `@vue/language-server` package directory, not its binary. See the Neovim setup guide for a working configuration.

jiti no longer bundled with Nuxt 5

Nuxt 5 no longer depends on `jiti`. Files loaded outside the bundler (nuxt.config.ts, files in modules/, and layer configs) are now imported by the runtime itself. Nuxt 5 requires Node 22.19 or later where type stripping is on by default. Relative imports in config and module files need explicit file extensions (e.g., `./build/my-plugin.ts` instead of `./build/my-plugin`). Only erasable TypeScript syntax can be used (not enums, namespaces, constructor parameter properties, or decorators).

Give your agent this brain