python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
variable is undefined on ejs file
Im having a little problem on one proyect, Im using ejs as a template engine and expressjs as server framework, so the problem come when Im validating that the user data were correct and I pass a cons...

Raxabi
Votes: 0
Answers: 2
VsCode not supporting EJS
VsCode is not supporting EJS in the dropdown when I try to create a file. I have the EJS language support extension and I used the setting configuration that was suggested on similar questions, yet it...
lance
Votes: 0
Answers: 0
Fastify reply view with JSON object from filtered array
I want to return a view with data that has been filtered from a JSON array based on the URL in the GET request.
Using Fastify I have a GET route that handles the pages under blog for example example.c...

jonnow
Votes: 0
Answers: 1
Printing newline characters in ejs
I'd like to print a string with newline characters with ejs.
I have this ejs file:
<div class="result">
<%=names%>
</div>
If the string "names" is "line 1...

i69chess chess
Votes: 0
Answers: 1