diff options
| author | FifthWit <fifthwitbusiness@gmail.com> | 2025-08-14 14:01:01 -0500 |
|---|---|---|
| committer | FifthWit <fifthwitbusiness@gmail.com> | 2025-08-14 14:01:01 -0500 |
| commit | 6a8b909afbe1560be95f7ad0a3e19cfe4717aec6 (patch) | |
| tree | 83cdbe3b5b7e5b83d5f0d08964634cc942264072 /frontend/vite.config.ts | |
| parent | Switched to Vite as build tool (diff) | |
| download | lphub-6a8b909afbe1560be95f7ad0a3e19cfe4717aec6.tar.gz lphub-6a8b909afbe1560be95f7ad0a3e19cfe4717aec6.tar.bz2 lphub-6a8b909afbe1560be95f7ad0a3e19cfe4717aec6.zip | |
Switched to tailwind/vite
Diffstat (limited to '')
| -rw-r--r-- | frontend/vite.config.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 3c2c9bd..aa41236 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts | |||
| @@ -1,9 +1,10 @@ | |||
| 1 | import { defineConfig } from 'vite' | 1 | import { defineConfig } from 'vite' |
| 2 | import react from '@vitejs/plugin-react' | 2 | import react from '@vitejs/plugin-react' |
| 3 | import tailwindcss from '@tailwindcss/vite' | ||
| 3 | import path from 'path' | 4 | import path from 'path' |
| 4 | 5 | ||
| 5 | export default defineConfig({ | 6 | export default defineConfig({ |
| 6 | plugins: [react()], | 7 | plugins: [react(), tailwindcss()], |
| 7 | resolve: { | 8 | resolve: { |
| 8 | alias: { | 9 | alias: { |
| 9 | '@api': path.resolve(__dirname, './src/api'), | 10 | '@api': path.resolve(__dirname, './src/api'), |
| @@ -20,7 +21,7 @@ export default defineConfig({ | |||
| 20 | port: 3000, | 21 | port: 3000, |
| 21 | proxy: { | 22 | proxy: { |
| 22 | '/api': { | 23 | '/api': { |
| 23 | target: 'http://localhost:8080', | 24 | target: 'https://lp.pektezol.dev/', |
| 24 | changeOrigin: true, | 25 | changeOrigin: true, |
| 25 | }, | 26 | }, |
| 26 | }, | 27 | }, |