pufferfish101007 @pufferfish101007

I have uncancelled plans for world domination, as I discovered several months ago that this is actually possible, like this:

<template>
  <CoolComponent />
</template>

<script setup>
  import { h } from 'vue';
  const CoolComponent = () => h('marquee', 'wheeeeeeeeeeeeeeeeeeeeee');
</script>

pufferfish101007 @pufferfish101007

Plans for world domination have been cancelled due to vue's <script setup> having no known way to use render functions.

Please send assistance.

Aug 9, 2021, 5:58 PM
0
Feb 13, 2022, 2:35 PM
3
View all Parent

comments

Highlighted comment

$ref is great imo! If I was any good at naming/organizing functions then I'd be tempted to start using <script setup> just because there's less boilerplate, but I don't trust myself to keep things organized.