Skip to content
New issue

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

TS should be recognized inside vue files #126

Open
Chris2011 opened this issue Nov 14, 2017 · 2 comments
Open

TS should be recognized inside vue files #126

Chris2011 opened this issue Nov 14, 2017 · 2 comments

Comments

@Chris2011
Copy link

Chris2011 commented Nov 14, 2017

In vue, it is possible to have TS inside a .vue file, when you do this:

<script name="ts">
import Vue from 'vue';


export default class LanguageTypeListComponent extends Vue {
}
</script>

So please parse a vue file e.g. that everything is working well inside this script tag.

Cheers

Chris

@Chris2011
Copy link
Author

Such a functionality was already asked for HTML files, but with this piece of code:

<script type="text/typescript"></script>

It is not official yet, but they think about it: microsoft/TypeScript#12874

But this will be an other topic, only to let you know this.

@Chris2011
Copy link
Author

Chris2011 commented Jan 31, 2019

We need this support, to support vue in NetBeans to parse such a block of code which is TypeScript and not JS. Atm only for *.vue files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant