Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

useCompiler return type missing ? #43

Closed
lewebsimple opened this issue Apr 23, 2024 · 1 comment
Closed

useCompiler return type missing ? #43

lewebsimple opened this issue Apr 23, 2024 · 1 comment

Comments

@lewebsimple
Copy link

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 ?

@Flowko Flowko mentioned this issue Jun 4, 2024
5 tasks
@Flowko
Copy link
Member

Flowko commented Jun 22, 2024

we just merged a new project rewrite, please do check the docs and the updated logic https://vuemail.net/

@Flowko Flowko closed this as completed Jun 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants