Closed vrzc closed 1 year ago
Depends on whether you mean client-side or server-side. Essentially all EJS does is evaluate a bunch of JavaScript and spit out a string. What you do with that string is up to you. You could use EJS to create JavaScript source code, or even (I have done thing) to generate other EJS templates.
i was wondering if it's possible to use ejs inside a js file other than using it inside the script tag