Add gh-pages deployment

This commit is contained in:
2024-05-26 23:00:39 +02:00
parent aae9215215
commit 4fd8628f64
6 changed files with 81 additions and 14 deletions
+9 -2
View File
@@ -1,8 +1,15 @@
import { createRouter, createWebHistory } from 'vue-router';
import {
createRouter,
createWebHashHistory,
createWebHistory
} from 'vue-router';
import HomeView from '../views/HomeView.vue';
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
history:
import.meta.env.VITE_ROUTER === 'hash'
? createWebHashHistory(import.meta.env.BASE_URL)
: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: '/',
-3
View File
@@ -1,12 +1,9 @@
<script setup lang="ts">
import { useForm } from 'vuestic-ui';
import { amenities } from '@/osm';
import { useMapStore } from '@/stores/map';
import { useThemeStore } from '@/stores/theme';
import { useI18n } from 'vue-i18n';
const { isValid } = useForm('formRef');
const theme = useThemeStore();
const mapStore = useMapStore();