This commit is contained in:
Professional 2025-05-26 00:03:58 +07:00
parent 398fe61565
commit a5a01c02fa
2 changed files with 3 additions and 1 deletions

View File

@ -103,7 +103,7 @@ const routes = [
]; ];
const router = createRouter({ const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL), history: createWebHistory('/'),
routes, routes,
}); });

View File

@ -5,6 +5,8 @@ import { resolve } from 'path' // Добавляем импорт модуля p
export default defineConfig({ export default defineConfig({
// Базовый путь для всех относительных URL
base: '/',
plugins: [ plugins: [
vue(), vue(),
VitePWA({ VitePWA({