Skip to content

Commit

Permalink
fix: allow js
Browse files Browse the repository at this point in the history
  • Loading branch information
eiinu committed Jan 4, 2024
1 parent 6895005 commit bd0d38b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/__VUE/image/demo/position.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</div>
</nut-space>
</template>
<script setup>
<script setup lang="ts">
const url = 'https://img10.360buyimg.com/ling/jfs/t1/181258/24/10385/53029/60d04978Ef21f2d42/92baeb21f907cd24.jpg';
const positions1 = ['top', 'center', 'bottom'];
const positions2 = ['left', 'center', 'right'];
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"lib": ["esnext", "dom"],
"outDir": "./tsc/test",
"types": ["vite/client", "vitest/globals"],
"allowJs": true,
"paths": {
"@/*": ["src/*"]
}
Expand Down

0 comments on commit bd0d38b

Please sign in to comment.