mirror of
https://github.com/comatory/fb2iCal
synced 2025-06-05 22:09:25 +02:00
feature: add Svelte framework to app, refactor tracking panel into Svelte component
This commit is contained in:
14
lib/frontend/components/AppContainer.svelte
Normal file
14
lib/frontend/components/AppContainer.svelte
Normal file
@ -0,0 +1,14 @@
|
||||
<script>
|
||||
import TrackingPanel from './TrackingPanel.svelte'
|
||||
|
||||
import { configStore } from '../stores'
|
||||
|
||||
$: showTrackingPanel = $configStore.track === undefined
|
||||
|
||||
configStore.subscribe(console.log)
|
||||
</script>
|
||||
|
||||
{#if showTrackingPanel}
|
||||
<TrackingPanel />
|
||||
{/if}
|
||||
|
Reference in New Issue
Block a user