-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to read JSON in Pug NodeJs #3431
Comments
Hey @FranciscoCastle I have running your code and the code runs perfectly fine app.js
and Inside the views directory index.pug
Ouput I recieved was
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pug Version: 3.0.2
Node Version: 21.7.1
Input JavaScript Values
Input Pug
p= data.forms.view
Expected HTML
Actual HTML
Additional Comments
I have tried to access from pug a json that I sent in my response from the server to the web client, but I have not had success reading the json, is there a way to read it?
The text was updated successfully, but these errors were encountered: