You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a Nuxt 4 project using ESLint module, how can I enable and configure the Vue ESLint rule vue/component-tags-order so that my <script setup> tag comes first, then <template>, then <style> in .vue files?
I already have eslint.config.mjs with withNuxt(), but when I try to add:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
In a Nuxt 4 project using ESLint module, how can I enable and configure the Vue ESLint rule
vue/component-tags-order
so that my<script setup>
tag comes first, then<template>
, then<style>
in.vue
files?I already have
eslint.config.mjs
withwithNuxt()
, but when I try to add:when I run
bun lint:fix
I get this error:how to fix that?
Beta Was this translation helpful? Give feedback.
All reactions