Skip to content

Commit

Permalink
feat(project): fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
aircjm committed Sep 10, 2024
1 parent c542d1c commit 9f6f848
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions vue/vite-naiveui/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ export {}
declare module 'vue' {
export interface GlobalComponents {
HelloWorld: typeof import('./src/components/HelloWorld.vue')['default']
NButton: typeof import('naive-ui')['NButton']
NButtonGroup: typeof import('naive-ui')['NButtonGroup']
NCard: typeof import('naive-ui')['NCard']
NFlex: typeof import('naive-ui')['NFlex']
NGi: typeof import('naive-ui')['NGi']
NGrid: typeof import('naive-ui')['NGrid']
NLayout: typeof import('naive-ui')['NLayout']
NSwitch: typeof import('naive-ui')['NSwitch']
Reactivity: typeof import('./src/components/Reactivity.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
Expand Down
2 changes: 1 addition & 1 deletion vue/vite-naiveui/src/pages/AboutPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<img src="/vite.svg" class="logo" alt="Vite logo" />
</a>
<a href="https://vuejs.org/" target="_blank">
<img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
<img src="../assets/vue.svg" class="logo vue" alt="Vue logo" />
</a>
</div>
</template>
Expand Down

0 comments on commit 9f6f848

Please sign in to comment.