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 · API · all subjects

components/nuxtimg

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

NuxtImg component basic usage

The <NuxtImg> component is a drop-in replacement for the native <img> tag. It outputs a native img tag directly without any wrapper around it. Use it like you would use the standard <img> tag.

NuxtImg requires Nuxt Image module

In order to use <NuxtImg>, you must install and enable the Nuxt Image module. Install it using the command: npx nuxt module add image

NuxtImg image optimization features

The <NuxtImg> component uses a built-in provider to optimize local and remote images. It converts src to provider-optimized URLs, automatically resizes images based on width and height attributes, generates responsive sizes when providing a sizes option, and supports native lazy loading as well as other img attributes.

NuxtImg basic example

<NuxtImg src="/nuxt-icon.png" /> outputs a native <img src="/nuxt-icon.png" /> tag directly.

Give your agent this brain