nuxt icon indicating copy to clipboard operation
nuxt copied to clipboard

useCompiler return type missing ?

Open lewebsimple opened this issue 10 months ago • 0 comments

It seems useCompiler returns Promise<any> when used like so:

import { useCompiler } from "#vue-email";

export default defineEventHandler(async () => {
  const template = await useCompiler("TestEmail.vue");
  return template.html;
});

Am I missing something ?

lewebsimple avatar Apr 23 '24 18:04 lewebsimple