<script lang="ts">
    import {locals} from "../ts/stores.js";

    export let depTest = 'Success';

    let locallyDefinedVar = 'correct value';
</script>

<style>
    p {
        color: brown;
    }
</style>


<p>Simple dep test</p>
<p>\$locals.</p>
<p>\$locals.</p>

<p>$locals: {$locals}</p>
<p>\$locals.route: {$locals.route} <br> {$locals.dump(typeof $locals.route)}</p>
<p>\$locals.dump: {$locals.dump('bonjour')}</p>
<p>\$locals.dump: {$locals.dump($locals.app)}</p>
<p>\$locals.dump: {$locals.dump(NaN)}</p>
<p>\$locals.route: {$locals.route('auth')}</p>
<p>\$locals.route: {$locals.route('home')}</p>
