docs: set repl store on mounted
This commit is contained in:
@@ -53,6 +53,9 @@ for (const example of Object.keys(imports)) {
|
||||
}
|
||||
}
|
||||
|
||||
onMounted(async () => {
|
||||
await store.setVueVersion('3.2.25')
|
||||
|
||||
await store.setFiles(
|
||||
{
|
||||
...files,
|
||||
@@ -67,8 +70,7 @@ store.setImportMap({
|
||||
'@braks/vue-flow': `${location.origin}/vue-flow.es.js`,
|
||||
},
|
||||
})
|
||||
|
||||
store.setVueVersion('3.2.25')
|
||||
})
|
||||
|
||||
const sfcOptions = {
|
||||
script: {
|
||||
|
||||
Reference in New Issue
Block a user