Question:I am trying to send JSON options into a pug file with a space in the attribute names.
For example, inside an express get request:
Answer:Pug makes locals available under the
localsproperty so you can simply use the following…
Another option to make this easier would be to simply bundle all your
jsonproperties under a single object…
If you have better answer, please add a comment about this, thank you!