Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make
export default
order unimportant
- Loading branch information
1 parent
f326626
commit d7af2ee
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
packages/vue-test-workspace/vue-tsc/script-setup-scope/export-order.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<script lang="ts"> | ||
export const useOne = async () => { | ||
return { one: 'one' } | ||
} | ||
export default {} | ||
export const useTwo = async () => ({ two: 'two' }) | ||
</script> | ||
|
||
<script lang="ts" setup> | ||
useOne() | ||
useTwo() | ||
</script> |