You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2020. It is now read-only.
Would it be possible to support TypeScript with some kind of attribute on the script tag?
To be honest, I'm not entirely sure whether it's even possible to use Vue component files together with typescript without the use of separate ts files. But if that were ever possible, it would be so cool if I could have all the component logic in 1 file without having to create another file just for the TS code
The text was updated successfully, but these errors were encountered:
It definitely is possible. I just followed this blog post http://www.mindissoftware.com/Vue-Sample-in-Typescript/ and successfully got the example to work. In the vue file the tag <script> has to be replaced by <script lang="ts">.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Would it be possible to support TypeScript with some kind of attribute on the script tag?
To be honest, I'm not entirely sure whether it's even possible to use Vue component files together with typescript without the use of separate ts files. But if that were ever possible, it would be so cool if I could have all the component logic in 1 file without having to create another file just for the TS code
The text was updated successfully, but these errors were encountered: