add public img

This commit is contained in:
maojindao55
2025-02-18 18:00:21 +08:00
parent e42f2cfd77
commit 6cc4ae8ca6
4 changed files with 1 additions and 10 deletions

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 186 KiB

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -1,19 +1,10 @@
import { defineConfig } from 'vite' import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react' import react from '@vitejs/plugin-react'
import path from 'path' import path from 'path'
import copy from 'rollup-plugin-copy'
export default defineConfig({ export default defineConfig({
plugins: [ plugins: [
react(), react()
copy({
targets: [
{
src: 'img', // 源目录
dest: 'dist/img' // 目标目录
}
]
})
], ],
base: '/', base: '/',
server: { server: {