# useVueVapor

Rule `biome/useVueVapor`. Enforce opting in to Vue Vapor mode in `<script setup>` blocks.

- Source: biome
- Technologies: HTML
- Kind: performance
- Needs type information: no
- Autofix: yes, in at least one linter
- Reach: 0 weekly downloads of presets that enable it
- Trend: 0% last quarter
- Rank: #1972 by reach

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| Biome | `performance/useVueVapor` | no | unsafe | group performance, since 2.3.11 | [docs](https://biomejs.dev/linter/rules/use-vue-vapor/) |

## Code examples

### Incorrect: the rule reports this

```vue
<script setup>
</script>
```

### Correct: the rule accepts this

```vue
<script setup vapor>
</script>
```

Examples from the Biome documentation.

## Enable it

### Biome: `biome.json`

```json
{
  "linter": {
    "rules": {
      "performance": {
        "useVueVapor": "error"
      }
    }
  }
}
```

## Related rules

- [biome/useUniqueElementIds](https://lintradar.dev/rules/biome/useUniqueElementIds.md): Disallow static `id` values on elements outside SVG contexts.
- [biome/useTailwindStaticClassStrings](https://lintradar.dev/rules/biome/useTailwindStaticClassStrings.md): Require complete, statically written class names.
- [biome/useTailwindShorthandClasses](https://lintradar.dev/rules/biome/useTailwindShorthandClasses.md): Enforce using fewer Tailwind utilities instead of multiple utilities that are functionally the same.
- [biome/useSvelteStoreInitialValue](https://lintradar.dev/rules/biome/useSvelteStoreInitialValue.md): Require Svelte stores to be created with an initial value.
- [biome/useSolidForComponent](https://lintradar.dev/rules/biome/useSolidForComponent.md): Enforce using Solid's `<For />` component for mapping an array to JSX elements.
- [biome/useReactNamingConvention](https://lintradar.dev/rules/biome/useReactNamingConvention.md): Enforces naming conventions for React `createContext`, `useId`, and `useRef`.

---

Web page: https://lintradar.dev/rules/biome/useVueVapor. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
