"test:types": "tsc --build tsconfig.json",
"test:unit": "jest --coverage",
"dev": "yarn run test:unit --watchAll",
+ "playground": "yarn vite",
"pretest": "yarn run lint",
"test": "yarn run test:types && yarn run test:unit && yarn run build && yarn run build:dts && yarn test:dts"
},
<script lang="ts" setup>
import { computed, onMounted, ref } from 'vue'
-import { useJokes, useJokesSetup } from '../stores/jokes'
+import { useJokes } from '../stores/jokes'
-// const jokes = useJokes()
-const jokes = useJokesSetup()
+const jokes = useJokes()
+// const jokes = useJokesSetup()
const texts = {
loading: 'Fetching the joke...',