Download apps/dashboard/vite.config.ts from AnthropicallyHuggingFaces/ProjectOS: direct link, hf CLI and curl.
- Browser
- Download file 409 Bytes
-
https://huggingface.co/spaces/AnthropicallyHuggingFaces/ProjectOS/resolve/main/apps/dashboard/vite.config.ts
- Command line
-
hf download hf://spaces/AnthropicallyHuggingFaces/ProjectOS/apps/dashboard/vite.config.ts
-
curl -L -o vite.config.ts https://huggingface.co/spaces/AnthropicallyHuggingFaces/ProjectOS/resolve/main/apps/dashboard/vite.config.ts
409 Bytes
| import { defineConfig } from 'vite'; | |
| import react from '@vitejs/plugin-react'; | |
| import { fileURLToPath } from 'node:url'; | |
| export default defineConfig({ | |
| plugins: [react()], | |
| resolve: { | |
| alias: { | |
| '@': fileURLToPath(new URL('./src', import.meta.url)) | |
| } | |
| }, | |
| server: { | |
| host: '127.0.0.1', | |
| port: 5173, | |
| strictPort: true, | |
| proxy: { | |
| '/api': 'http://127.0.0.1:4173' | |
| } | |
| } | |
| }); | |