kopia lustrzana https://github.com/manuelkasper/sotlas-frontend
Add public path to vue-router
rodzic
6e3f6abfce
commit
2e71728a4e
|
@ -23,6 +23,7 @@ Vue.use(Router)
|
||||||
|
|
||||||
let router = new Router({
|
let router = new Router({
|
||||||
mode: 'history',
|
mode: 'history',
|
||||||
|
base: process.env.PUBLIC_PATH ?? '/',
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
|
|
Ładowanie…
Reference in New Issue