There exists a Vue SFC called Bubble
, which contains a simple layout structure.
Bubble.vue
<script setup lang="ts">
</script>
<template>
<div hinted-name="wrapper-bubble" class="hinted-bubble-wrapper">
<div class="hinted-bubble-frame" hinted-name="frame"></div>
</div>
</template>
<style scoped lang="stylus">
</style>
Furthermore, there is a class that utilizes this layout as its foundation for functionality.
export class BubbleStepView extends StepComponentView {
constructor() {
super(Bubble.toString);
}
}
This class specifically requires an HTML string as a parameter.
Is there a way to synchronously convert a Vue component into a string?
The application operates within a browser environment.
Although I tried the approach outlined in , it did not work for me due to its Promise return value.