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.

vls configuration currently does not recognize setup+ts

See original GitHub issue

First of all, this is a very powerful plug-in, thanks to the author!

But I have a problem, it would be perfect if anyone can improve it.


Scenes:(a simple demo with setup + ts)

My needs:

watch in the devlopment environment,So I can’t use vueTsc directly(Because it only applies to the build environment)

<template>
  <p v-cloak>{{ name }}</p>
</template>

<script lang="ts" setup>
import { ref } from 'vue';
const name = ref('test');
</script>

The following error will appear:

  • ERROR(VLS) Module ‘“xxx.vue”’ has no default export

  • ERROR(VLS) Property ‘name’ does not exist on type ‘unknown’.

  • ERROR(VLS) ‘name’ is declared but its value is never read.

vls configuration currently does not recognize setup+ts

but typescript: true can only applies to xxx.tsx in the development environment,it does not meet my needs


Need your help, Thanks!

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
fi3eworkcommented, Mar 24, 2022

vue-tsc in watch mode is supported since 0.4.4. Vue3 can drop VLS now. Have a try!

1reaction
zerogucommented, Nov 7, 2021

I ran into the same problem

Read more comments on GitHub >

github_iconTop Results From Across the Web

LMS VLS (Virtual Learning Session) Knowledge Support and ...
All scheduled offering segments will be setup for VLS using the SO creation ... Therefore any changes on the Vendor site will not...
Read more >
SAP SuccessFactors Learning Virtual Learning Service (VLS)
Join us for overview of VLS functionality and find out which tools are supported, so you can switch your face-to-face sessions to virtual ......
Read more >
vlang/vls: V language server - GitHub
V Language Server. CI. V Language Server (also known as "VLS") is a LSP v3.15-compatible language server for the V programming language.
Read more >
SuccessFactors Learning and Microsoft Teams VLS Integration
Microsoft VLS Teams is now available to integrate with the SAP SuccessFactors Learning Module. Know the FAQs about using MS Teams VLS!
Read more >
VersaLASER® (VLS) User Guide VLS3.60, VLS4.60, VLS6.60
Note: If the setup window does not automatically launch, you can launch ... The cart and laser system can now be moved separately...
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