We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i have little pieces of code
<!-- pages.vue --> <script lang="ts" setup> const { $crumbs } = useNuxtApp() $crumbs.set([ { name: 'Home', to: '/' }, { name: 'Pages', to: '/pages' }, ]) </script> <template> ... </template>
then vetur shows me an error Cannot redeclare block-scoped variable '$crumbs'.
Cannot redeclare block-scoped variable '$crumbs'.
[{ "resource": "/home/dev/project/kerja/dashboard/src/pages/pages.vue", "owner": "_generated_diagnostic_collection_name_#2", "code": "2451", "severity": 8, "message": "Cannot redeclare block-scoped variable '$crumbs'.", "source": "Vetur", "startLineNumber": 4, "startColumn": 9, "endLineNumber": 4, "endColumn": 16 }]
The text was updated successfully, but these errors were encountered:
We don't support <script setup> now. Duplicate of #2296
<script setup>
Sorry, something went wrong.
Duplicate of #2296
No branches or pull requests
i have little pieces of code
then vetur shows me an error
Cannot redeclare block-scoped variable '$crumbs'.
The text was updated successfully, but these errors were encountered: