Skip to content

Instantly share code, notes, and snippets.

@JeffreyWay
Created July 8, 2022 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JeffreyWay/bc55dfcfb206f6fb0053bd5e7dc705ea to your computer and use it in GitHub Desktop.
Save JeffreyWay/bc55dfcfb206f6fb0053bd5e7dc705ea to your computer and use it in GitHub Desktop.
import { reactive } from "vue";
export let state = reactive({
name: 'My Second Quiz',
questions: []
});
<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