fastify / point-of-view

Template rendering plugin for Fastify
MIT License
338 stars 86 forks source link

could you add support of svelte? #365

Open superiums opened 1 year ago

superiums commented 1 year ago

Prerequisites

🚀 Feature Proposal

could you add support of svelte? or a custom engine support ?

Motivation

simiar with https://www.liip.ch/en/blog/mvc-with-nestjs-and-svelte

Example


export interface FastifyViewOptions {
    engine: {
        ejs?: any;
        ......

        svelted?: any;
    };
mcollina commented 1 year ago

I think we should have a different plugin for Svelte integration. Maybe this is something @galvez could help with.