vite-plugin-ejs icon indicating copy to clipboard operation
vite-plugin-ejs copied to clipboard

Is there a way to get my index.ejs to compile to index.ejs?

Open kajweb opened this issue 1 year ago • 2 comments

I am using koa to output index, and then I want to get a similar ejs file to be output by koa. Can you give me some advice?

image

Then, output this page through koa-views (server) image

The interface you ultimately want to render the code on the client image

kajweb avatar Jan 03 '24 05:01 kajweb

I have a similar need using Express. Actullay I am looking to use Vite instead of NodeMon. The site is a standard back-end app used for usability purposes, so an SPA is not possible. Content would need to be compiled.

ticlaudeberube avatar Jun 06 '24 15:06 ticlaudeberube