added dynamic data loading and mapping towards components.
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
<script>
|
||||
import Composite from '$lib/core/Composite.svelte';
|
||||
import { dataStore } from '$lib/core/dataLoader';
|
||||
|
||||
$: console.log('Data Store contents:', $dataStore);
|
||||
|
||||
let composite = {
|
||||
id: 'composite',
|
||||
@ -29,7 +32,10 @@
|
||||
component: 'HelloEarth',
|
||||
slot: 'top',
|
||||
map: {
|
||||
pkpWallet: 'w.pkpWallet'
|
||||
pkpWallet: 'w.pkpWallet',
|
||||
rpcURL: 'w.rpcURL',
|
||||
messages: 'data.queryMessages',
|
||||
todos: 'data.queryTodos'
|
||||
},
|
||||
services: ['helloEarthAlert']
|
||||
},
|
||||
|
Reference in New Issue
Block a user