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.

[Feature request] Support Vue SFCs with setup

See original GitHub issue

I like the very slim approach of this lib.

I tried to use it in a Vue 3 project with <script setup> tags, but they are not recognised.
It would be nice to have support for them, too.

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
simonhaenischcommented, Jun 16, 2022

hey there, please try out version 3.0.0. note that you’ll have to install @volar/vue-typescript as a dev dependency.

0reactions
Shinigami92commented, Jun 16, 2022

YES, its working!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support the <script setup> syntax in SFCs #3108 - GitHub
Feature Request. See https://v3.vuejs.org/api/sfc-script-setup.html. Currently there are no errors with the new <script setup> syntax, ...
Read more >
<script setup> | Vue.js
<script setup> is a compile-time syntactic sugar for using Composition API inside Single-File Components (SFCs). It is the recommended syntax if you are ......
Read more >
Vue 3: Support new <script setup> without ref sugar - YouTrack
When using it with lang='ts' , vue dependencies are not resolved, all appears in red and no autocompletion, whilte the rest of imports...
Read more >
Vue 3.2 - Using Composition API with Script Setup
Vue 3 introduced the Composition API as a new way to work with reactive state in a Vue application. Rather than organizing code...
Read more >
How to Structure a Large Scale Vue.js Application
At it's simplest, it's the ability to intuitively go from a feature request or bug report to the location in the codebase where...
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