Pular para o conteúdo

useVueVapor

Este conteúdo não está disponível em sua língua ainda.

biome.json
{
"linter": {
"rules": {
"nursery": {
"useVueVapor": "error"
}
}
}
}

Enforce opting in to Vue Vapor mode in <script setup> blocks.

Vue 3.6 introduces an opt-in “Vapor mode” for SFC <script setup> blocks: <script setup vapor>.

Vapor mode only works for Vue Single File Components (SFCs) using <script setup>.

This rule reports <script setup> opening tags that are missing the vapor attribute.

<script setup>
</script>
<script setup vapor>
</script>