vuetype icon indicating copy to clipboard operation
vuetype copied to clipboard

Support for script src attribute

Open repomaa opened this issue 5 years ago • 1 comments

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>

repomaa avatar Aug 10 '18 00:08 repomaa

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.

whitetrefoil avatar Mar 14 '19 04:03 whitetrefoil