|
@@ -1,4 +1,4 @@
|
|
-import { createRouter, createWebHistory } from 'vue-router'
|
|
|
|
|
|
+import { createRouter, createWebHashHistory } from 'vue-router'
|
|
import HomeView from '../views/HomeView.vue'
|
|
import HomeView from '../views/HomeView.vue'
|
|
import ChatbotView from '../views/ChatbotView.vue'
|
|
import ChatbotView from '../views/ChatbotView.vue'
|
|
import MinimalistView from '../assets/templates/ui-standard/MinimalistView.vue'
|
|
import MinimalistView from '../assets/templates/ui-standard/MinimalistView.vue'
|
|
@@ -26,6 +26,7 @@ import ElementUIView from '../assets/templates/ui-standard/ElementUIView.vue'
|
|
import FlatView from '../assets/templates/ui-standard/FlatView.vue'
|
|
import FlatView from '../assets/templates/ui-standard/FlatView.vue'
|
|
import NordicView from '../assets/templates/ui-standard/NordicView.vue'
|
|
import NordicView from '../assets/templates/ui-standard/NordicView.vue'
|
|
import FuturisticView from '../assets/templates/ui-standard/FuturisticView.vue'
|
|
import FuturisticView from '../assets/templates/ui-standard/FuturisticView.vue'
|
|
|
|
+import LoginView from '../views/LoginView.vue'
|
|
|
|
|
|
const routes = [
|
|
const routes = [
|
|
{
|
|
{
|
|
@@ -175,7 +176,7 @@ const routes = [
|
|
]
|
|
]
|
|
|
|
|
|
const router = createRouter({
|
|
const router = createRouter({
|
|
- history: createWebHistory(import.meta.env.BASE_URL),
|
|
|
|
|
|
+ history: createWebHashHistory(import.meta.env.BASE_URL),
|
|
routes,
|
|
routes,
|
|
scrollBehavior(to, from, savedPosition) {
|
|
scrollBehavior(to, from, savedPosition) {
|
|
if (to.hash) {
|
|
if (to.hash) {
|