docs: set repl store on mounted

This commit is contained in:
bcakmakoglu
2022-06-13 20:17:55 +02:00
committed by Braks
parent 281b0fccc8
commit 2bd81fe173
+4 -2
View File
@@ -53,6 +53,9 @@ for (const example of Object.keys(imports)) {
} }
} }
onMounted(async () => {
await store.setVueVersion('3.2.25')
await store.setFiles( await store.setFiles(
{ {
...files, ...files,
@@ -67,8 +70,7 @@ store.setImportMap({
'@braks/vue-flow': `${location.origin}/vue-flow.es.js`, '@braks/vue-flow': `${location.origin}/vue-flow.es.js`,
}, },
}) })
})
store.setVueVersion('3.2.25')
const sfcOptions = { const sfcOptions = {
script: { script: {