docs: 添加中文文档,新增前端和后端代码
- 新增 README_CN.md 中文文档 - 新增 frontend/ Vue 3 前端项目 - 新增 web/ FastAPI 后端项目 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
20
frontend/vitest.config.ts
Normal file
20
frontend/vitest.config.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import { fileURLToPath } from 'node:url'
|
||||
import { mergeConfig, defineConfig, configDefaults } from 'vitest/config'
|
||||
import viteConfig from './vite.config'
|
||||
|
||||
export default mergeConfig(
|
||||
viteConfig,
|
||||
defineConfig({
|
||||
test: {
|
||||
environment: 'jsdom',
|
||||
exclude: [...configDefaults.exclude, 'e2e/**'],
|
||||
root: fileURLToPath(new URL('./', import.meta.url)),
|
||||
css: false,
|
||||
server: {
|
||||
deps: {
|
||||
inline: ['element-plus', '@element-plus/icons-vue'],
|
||||
},
|
||||
},
|
||||
},
|
||||
}),
|
||||
)
|
||||
Reference in New Issue
Block a user