25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

vite.config.ts 531 B

9 달 전
12345678910111213141516171819202122
  1. import { defineConfig } from 'vite'
  2. import Pages from 'vite-plugin-pages'
  3. import vue from '@vitejs/plugin-vue'
  4. // https://vitejs.dev/config/
  5. export default defineConfig({
  6. plugins: [
  7. vue(),
  8. Pages({
  9. dirs: [
  10. { dir: 'src/pages', baseRoute: '' },
  11. ]
  12. }),
  13. ],
  14. base: 'https://drawise.net/', // Set your base URL here
  15. })
  16. // RewriteEngine On
  17. // RewriteBase /
  18. // RewriteRule ^index\.html$ - [L]
  19. // RewriteCond %{REQUEST_FILENAME} !-f
  20. // RewriteCond %{REQUEST_FILENAME} !-d
  21. // RewriteRule . /index.html [L]