add iframe to demo content

This commit is contained in:
Philipp Kühn
2021-02-02 10:20:12 +01:00
committed by Hans Pagel
parent a952cebd00
commit 6fb953dab8
8 changed files with 122 additions and 118 deletions

View File

@@ -6,7 +6,7 @@
<iframe
v-show="!isLoading"
v-resize
:src="`demos/${name}?${query}`"
:src="`/demos/${name}?${query}`"
style="background-color: transparent;"
width="100%"
height="0"
@@ -60,13 +60,8 @@ export default {
methods: {
onLoad() {
this.isLoading = false
console.log('onLoad')
},
},
mounted() {
console.log('load')
},
}
</script>