Fix image import
This commit is contained in:
parent
6a13fde12b
commit
7e25e8b94d
2
src/components.d.ts
vendored
2
src/components.d.ts
vendored
@ -7,8 +7,6 @@ export {}
|
|||||||
|
|
||||||
declare module '@vue/runtime-core' {
|
declare module '@vue/runtime-core' {
|
||||||
export interface GlobalComponents {
|
export interface GlobalComponents {
|
||||||
ElMenu: typeof import('element-plus/es')['ElMenu']
|
|
||||||
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
|
|
||||||
Footer: typeof import('./components/Footer.vue')['default']
|
Footer: typeof import('./components/Footer.vue')['default']
|
||||||
Nav: typeof import('./components/Nav.vue')['default']
|
Nav: typeof import('./components/Nav.vue')['default']
|
||||||
RouterLink: typeof import('vue-router')['RouterLink']
|
RouterLink: typeof import('vue-router')['RouterLink']
|
||||||
|
@ -11,4 +11,4 @@
|
|||||||
|
|
||||||
点击 `注册`
|
点击 `注册`
|
||||||
|
|
||||||
<img src="contribute_0.png" />
|
<img src="/contribute_0.png" />
|
@ -18,7 +18,7 @@ import Shiki from 'markdown-it-shiki'
|
|||||||
import VueMacros from 'unplugin-vue-macros/vite'
|
import VueMacros from 'unplugin-vue-macros/vite'
|
||||||
|
|
||||||
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
|
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
|
||||||
import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
|
import vuetify from 'vite-plugin-vuetify'
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
resolve: {
|
resolve: {
|
||||||
@ -35,7 +35,6 @@ export default defineConfig({
|
|||||||
vue: Vue({
|
vue: Vue({
|
||||||
include: [/\.vue$/, /\.md$/],
|
include: [/\.vue$/, /\.md$/],
|
||||||
reactivityTransform: true,
|
reactivityTransform: true,
|
||||||
template: { transformAssetUrls },
|
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user