This commit is contained in:
Saifeddine ALOUI 2023-08-30 02:35:25 +02:00
parent 9305887970
commit a2f26b8d59
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,18 @@
<template>
<div>
<iframe ref="outputFrame" :srcdoc="code"></iframe>
</div>
</template>
<script>
export default {
props: {
code: String, // The HTML/CSS/JavaScript code as a prop
},
};
</script>
<style>
/* Add any styling for the component here */
</style>

View File

@ -0,0 +1,18 @@
<template>
<div>
<iframe ref="outputFrame" :srcdoc="code"></iframe>
</div>
</template>
<script>
export default {
props: {
code: String, // The HTML/CSS/JavaScript code as a prop
},
};
</script>
<style>
/* Add any styling for the component here */
</style>