parent
79c9c8571a
commit
1e0822eaa2
21 changed files with 126 additions and 47 deletions
|
|
@ -17,7 +17,7 @@
|
|||
<RouterLink v-for="navbarRoute in navbarRoutes" :key="navbarRoute.name" :to="navbarRoute.path">
|
||||
{{ navbarRoute.title }}
|
||||
</RouterLink>
|
||||
<a href="/#/docs">Docs</a>
|
||||
<a href="/app/docs">Docs</a>
|
||||
</nav>
|
||||
<template v-if="!isMobile">
|
||||
<div class="vertical-line"></div>
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ provide('isMobile', isMobile);
|
|||
provide('showPanel', showPanel);
|
||||
|
||||
function openDocs() {
|
||||
window.open('https://emberspirit007.github.io/KraikenLanding/#/docs/Introduction');
|
||||
window.open('/app/docs');
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
import { createRouter, createWebHashHistory } from 'vue-router';
|
||||
import { createRouter, createWebHistory } from 'vue-router';
|
||||
import { authGuard } from './authGuard';
|
||||
|
||||
const basePath = import.meta.env.VITE_BASE_PATH || '/app/';
|
||||
|
||||
const router = createRouter({
|
||||
history: createWebHashHistory(),
|
||||
history: createWebHistory(basePath),
|
||||
routes: [
|
||||
{
|
||||
path: '/',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue