vue-mode icon indicating copy to clipboard operation
vue-mode copied to clipboard

Vue3 "script setup" mode

Open tarkhil opened this issue 3 years ago • 2 comments

Is it possible to make syntax working in script setup sections?

tarkhil avatar Feb 09 '22 08:02 tarkhil

As a workaround I've found that it works if you use:

<script setup="setup" lang="ts">
</script>

instead of

<script setup lang="ts">
</script>

but I agree it would be nice if it would act the same even using "setup" with no value.

eric-p-hutchins avatar Mar 21 '22 21:03 eric-p-hutchins

Oh there's a pull request for it: https://github.com/AdamNiederer/vue-mode/pull/115

eric-p-hutchins avatar Mar 21 '22 21:03 eric-p-hutchins

This was fixed by PRs #115 and #123. Please open a new issue if you encounter any problems.

dherbst avatar Jan 01 '24 13:01 dherbst