vuetype
vuetype copied to clipboard
Support for script src attribute
Would be nice if
<script src="./MyComponent.ts"></script>
would be supported.
Current workaround is a bit ugly:
<script lang="ts">
export { default } from "./MyComponent";
</script>
Just wonder why you need vuetype since you already have a real .ts file.
I just found this project during searching for a solution provide me better experience in IDEA. Currently my solution is using a separated .ts
file then import it using "src"
in .vue
file. When importing in a .ts
file without extnames, IDEA's tsc
will resolve it to the real .ts
file, while during building webpack will import the .vue
file. Everything is perfect except some little helpers in IDEA's VueJS plugin.