import { defineConfig } from 'vite' import Pages from 'vite-plugin-pages' import vue from '@vitejs/plugin-vue' // https://vitejs.dev/config/ export default defineConfig({ plugins: [ vue(), Pages({ dirs: [ { dir: 'src/pages', baseRoute: '' }, ] }), ], base: 'https://app.drawise.net/', // Set your base URL here }) // RewriteEngine On // RewriteBase / // RewriteRule ^index\.html$ - [L] // RewriteCond %{REQUEST_FILENAME} !-f // RewriteCond %{REQUEST_FILENAME} !-d // RewriteRule . /index.html [L]