Created
July 8, 2022 20:03
-
-
Save JeffreyWay/bc55dfcfb206f6fb0053bd5e7dc705ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { reactive } from "vue"; | |
export let state = reactive({ | |
name: 'My Second Quiz', | |
questions: [] | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div> | |
<h5>{{ state.name }}</h5> | |
</div> | |
</template> | |
<script setup> | |
import {state} from "@/stores/quizStore"; | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment