ADD: Pinia

This commit is contained in:
Robert Kossessa
2024-01-31 00:11:55 +01:00
parent 98058e9a4a
commit 0f5e0df58b
7 changed files with 209 additions and 113 deletions

View File

@@ -7,15 +7,21 @@ import ConfigSelect from '@/components/config/ConfigSelect.vue'
import { ref } from 'vue'
import ConfigSection from '@/components/config/ConfigSection.vue'
import { Bolt } from 'lucide-vue-next'
import { useStore } from '@/store'
const currentConfigPage = ref('profile_settings')
const store = useStore()
store.fetchProfiles()
</script>
<template>
<main class="select-none w-screen h-screen flex flex-col">
<Navbar class="flex-none" />
<div class="flex-1 min-h-0 flex flex-row">
<ProfileManager class="basis-1/3 min-w-80 flex-1 flex flex-col border-solid border-0 border-r bg-zinc-900 bg-opacity-30" />
<ProfileManager
class="basis-1/3 min-w-80 flex-1 flex flex-col border-solid border-0 border-r bg-zinc-900 bg-opacity-30" />
<div class="basis-1/3 flex-1 flex flex-col border-solid border-0 border-r">
<DevicePreview class="flex-col flex flex-none" />
<ConfigSection class="flex-none" :title="$t('config_options.title')" :foldable="false" :icon-component="Bolt" />