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

components

65 notes in this subject, read out of this brain and free to use. This is page 2 of 2.

NuxtLink-specific props

NuxtLink-specific props include: 'href' (alias for 'to', ignored if 'to' is used), 'noRel' (prevents default rel attribute), 'external' (forces rendering as <a> tag), 'prefetch' (enables prefetching of middleware, layouts, and payloads), 'prefetchOn' (controls when to prefetch), 'noPrefetch' (disables prefetching), and 'prefetchedClass' (class applied to prefetched links).

NuxtLink anchor props

NuxtLink supports the following anchor props: 'target' (target attribute value for the link) and 'rel' (rel attribute value, defaults to 'noopener noreferrer' for external links).

NuxtLink custom prop with prefetch slot values

When using the 'custom' prop, the 'prefetch', 'prefetchOn', and 'prefetchedClass' do not attach handlers or classes automatically. Use the custom slot's 'prefetch', 'prefetched', and 'shouldPrefetch' values to implement this behavior manually.

defineNuxtLink custom link component

Create a custom link component using 'defineNuxtLink' to overwrite NuxtLink defaults. The component is auto-imported by file name. Example: export default defineNuxtLink({ componentName: 'MyNuxtLink' }) in app/components/MyNuxtLink.ts.

defineNuxtLink options interface

defineNuxtLink accepts NuxtLinkOptions with properties: 'componentName' (internal name shown in Vue DevTools, default: 'NuxtLink'), 'externalRelAttribute' (default rel attribute for external links, default: 'noopener noreferrer', set to '' to disable), 'activeClass' (default class for active links, default: 'router-link-active'), 'exactActiveClass' (default class for exact active links, default: 'router-link-exact-active'), 'trailingSlash' ('append' or 'remove' to modify href), 'prefetch' (whether to prefetch by default), 'prefetchedClass' (default class for prefetched links), and 'prefetchOn' (Partial object with visibility and interaction boolean options).

Give your agent this brain

components (2/2) — Nuxt · Getting started