Skip to content

Commit

Permalink
fix(custom): 修复自动引入报错问题
Browse files Browse the repository at this point in the history
  • Loading branch information
gitboyzcf committed Oct 28, 2024
1 parent f22e241 commit fdd58e1
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 119 deletions.
107 changes: 0 additions & 107 deletions auto-imports.d.ts

This file was deleted.

12 changes: 0 additions & 12 deletions components.d.ts

This file was deleted.

12 changes: 12 additions & 0 deletions src/pages/interaction/index.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<template>
<nut-tabs v-model="state.tab11value" type="smile">
<nut-tab-pane title="Tab 1"> Tab 1 </nut-tab-pane>
<nut-tab-pane title="Tab 2"> Tab 2 </nut-tab-pane>
<nut-tab-pane title="Tab 3"> Tab 3 </nut-tab-pane>
</nut-tabs>
</template>
<script setup lang="ts">
const state = reactive({
tab11value: '0'
})
</script>
2 changes: 2 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ export default ({ command, mode }) => {
},
plugins: [
UniComponents({
dts: false,
resolvers: [NutResolver()]
}),
UniManifest(),
uni(),
AutoImport({
dts: false,
imports: [
'vue',
'uni-app',
Expand Down

0 comments on commit fdd58e1

Please sign in to comment.