mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-02-21 01:31:20 +00:00
upgraded
This commit is contained in:
parent
9305887970
commit
a2f26b8d59
18
web/src/components/DynamicIORenderer.vue
Normal file
18
web/src/components/DynamicIORenderer.vue
Normal 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>
|
||||
|
18
web/src/components/DynamicUIRenderer.vue
Normal file
18
web/src/components/DynamicUIRenderer.vue
Normal 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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user