salomonsky commited on
Commit
b5ade04
·
verified ·
1 Parent(s): 13fe682

Update vite.config.js

Browse files
Files changed (1) hide show
  1. vite.config.js +2 -0
vite.config.js CHANGED
@@ -3,6 +3,8 @@ import react from '@vitejs/plugin-react'
3
 
4
  export default defineConfig({
5
  plugins: [react()],
 
 
6
  build: {
7
  outDir: 'dist',
8
  emptyOutDir: true,
 
3
 
4
  export default defineConfig({
5
  plugins: [react()],
6
+ // "base" le dice a Vite cómo escribir las rutas en el archivo final
7
+ base: '/',
8
  build: {
9
  outDir: 'dist',
10
  emptyOutDir: true,