Download web_development/frontend/vite.config.js from lucky-loster/quant_test: direct link, hf CLI and curl.
- Browser
- Download file 376 Bytes
-
https://huggingface.co/lucky-loster/quant_test/resolve/main/web_development/frontend/vite.config.js
- Command line
-
hf download hf://lucky-loster/quant_test/web_development/frontend/vite.config.js
-
curl -L -o vite.config.js https://huggingface.co/lucky-loster/quant_test/resolve/main/web_development/frontend/vite.config.js
376 Bytes
| import { defineConfig } from 'vite' | |
| import vue from '@vitejs/plugin-vue' | |
| export default defineConfig({ | |
| plugins: [vue()], | |
| server: { | |
| port: 5173, | |
| host: '0.0.0.0', | |
| proxy: { | |
| '/api': { | |
| target: 'http://localhost:8000', | |
| changeOrigin: true, | |
| }, | |
| '/ws': { | |
| target: 'ws://localhost:8000', | |
| ws: true, | |
| }, | |
| }, | |
| }, | |
| }) | |