fastify-nuxtjs
fastify-nuxtjs copied to clipboard
Added example with typescript fastify
Inspired by comment
https://github.com/fastify/fastify-nextjs/issues/207#issuecomment-824939719
Hey @gustawdaniel, thanks for opening a PR, similar to the comment you mentioned on the issue, could you please add a working example?
import fastify, { RequestGenericInterface } from "fastify";
import fastifyNuxt from 'fastify-nuxtjs';
const app = fastify({ logger: true })
app.register(fastifyNuxt)
.after(() => {
app.next('*')
});