Closed jaroslawziolkowski closed 8 years ago
I'm not sure how V8JS works, but you at least need to require
ejs somehow. Try var ejs = require('ejs')
before you use the compile function.
@TimothyGu I see
require is not defined
when I use this construction
EJS was written for Node.js. You need to get in touch with V8js on how to use CommonJS modules.
Hello, how can I use it with v8js in PHP.
I have installed 2.3.3 version by npm on server
result is