]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
chore: more playground
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 28 Jul 2021 10:12:55 +0000 (12:12 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Wed, 28 Jul 2021 10:12:55 +0000 (12:12 +0200)
package.json
playground/src/views/Jokes.vue

index 7e5000dd891519242d4453c190b191116b835d99..345d57761c02d66df3972c0024afa7f9480f44f5 100644 (file)
@@ -35,6 +35,7 @@
     "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"
   },
index 5741f5b5a94722b33992463f19587d31eb74548b..6c75e541000bd6abac4b4d01aa99234b6b3859d2 100644 (file)
 
 <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...',