Skip to content

Conversation

zjxxxxxxxxx
Copy link
Collaborator

Let's say you have a component like this

<!-- src/App.vue -->
<script lang="tsx">
  import { defineComponent } from 'vue';

  export default defineComponent({
    setup() {
      return <div>hello word</div>;
    },
  });
</script>

Now it compiles

<!-- src/App.vue -->
<script lang="tsx">
  import { defineComponent } from 'vue';

  export default defineComponent({
    setup() {
      return <div __source="/src/App.vue:7:13">hello word</div>;
    },
  });
</script>

Should be compiled to

<!-- src/App.vue -->
<script lang="tsx">
  import { defineComponent } from 'vue';

  export default defineComponent({
    setup() {
      return <div __source="/src/App.vue:7:14">hello word</div>;
    },
  });
</script>

@zjxxxxxxxxx zjxxxxxxxxx merged commit e92844a into main Sep 23, 2023
@zjxxxxxxxxx zjxxxxxxxxx deleted the column branch September 23, 2023 06:17
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

Successfully merging this pull request may close these issues.

1 participant