mirror of
https://github.com/ZiuChen/ZiuChen.github.io.git
synced 2025-12-20 01:35:38 +08:00
feat: 定期检查文档更新并弹出提醒
- 扩展基础主题代码做抽取
This commit is contained in:
14
docs/vite.config.ts
Normal file
14
docs/vite.config.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import vueJsx from '@vitejs/plugin-vue-jsx'
|
||||
|
||||
export default defineConfig(() => ({
|
||||
server: {
|
||||
proxy: {
|
||||
'/hashmap.json': {
|
||||
target: 'https://ziuchen.github.io',
|
||||
changeOrigin: true
|
||||
}
|
||||
}
|
||||
},
|
||||
plugins: [vueJsx()]
|
||||
}))
|
||||
Reference in New Issue
Block a user