фикс
This commit is contained in:
parent
398fe61565
commit
a5a01c02fa
@ -103,7 +103,7 @@ const routes = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
const router = createRouter({
|
const router = createRouter({
|
||||||
history: createWebHistory(import.meta.env.BASE_URL),
|
history: createWebHistory('/'),
|
||||||
routes,
|
routes,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -5,6 +5,8 @@ import { resolve } from 'path' // Добавляем импорт модуля p
|
|||||||
|
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
// Базовый путь для всех относительных URL
|
||||||
|
base: '/',
|
||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue(),
|
||||||
VitePWA({
|
VitePWA({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user