question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

<script setup> Introduce sub-components to prompt an error

See original GitHub issue
  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ
  • I have tried restarting VS Code or running Vetur: Restart VLS

Info

  • Platform:
  • Vetur version: v0.34.1
  • VS Code version: v1.59.0
  • Vue version: ^3.2.2

1629179476(1)

1629179641(1)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
arpowerscommented, Aug 17, 2021

@yoyo930021 @zs-g

having the same issue with Vue 3.2 and script setup

Either you can use without lang="ts" which causes TS linting errors or, if you add the 'ts`, then variables are flagged as unused.

0reactions
yoyo930021commented, Oct 4, 2021

Duplicate of #2296

Read more comments on GitHub >

github_iconTop Results From Across the Web

Explaining The New script setup Type in Vue 3 - LearnVue
In the Composition API, we're used to having to create our setup method and then return anything that we want exposed. Something like...
Read more >
How to add a component to an existing installation of a ...
Select or deselect a subcomponent by highlighting the component and pressing RETURN. An asterisk (*) indicates that a subcomponent is selected.
Read more >
Vue 3.2 - Using Composition API with Script Setup
Introduction. Vue 3 introduced the Composition API as a new way to work with reactive state in a Vue application.
Read more >
Troubleshoot Start menu errors - Windows Client
Learn how to troubleshoot common Start menu errors in Windows 10. ... For issues where the Start menu or subcomponent isn't working, ...
Read more >
HTML Standard
1 Introduction; 2 Common infrastructure; 3 Semantics, structure, and APIs of HTML documents; 4 The elements of HTML; 5 Microdata; 6 User interaction ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found