I'm using the package express-rate-limit to limit my express API requests. I'm using Pug for my client. Everything works fine, but whenever the rateli ...
I'm using the package express-rate-limit to limit my express API requests. I'm using Pug for my client. Everything works fine, but whenever the rateli ...
Currently I'm on a legacy application using pug.js as view engine in a node.js express-app. I want to implement a generic way to display feedback mes ...
I'm trying to pass a variable in my Pug code to an onSubmit event in a form element. Here's my code for that: As you can see, in the addLike functi ...
Usually i see people serve html with ngnix with configuration like this in my case I use a template engine with express that i don't want ngnix to ...
Take code like this: const Post = async (url, body) => { let res = await fetch(url, { method: "POST", headers: { "Content-Type": " ...
I am trying to implement a proof of concept for a personal project which is a hypertextual blog. The project is built using expressjs and I am storing ...
Node.js express mongodb parcell multer sharp pug templates. During the Form submit req.file throws undefined. Works from postman... HTML pug (tried ...
I'm using pug engine and trying to load svgs from a spritemap.vsg and i have 4 icons they all appear normally except one so i have this mixin and its ...
folder -static --images -public --js files -views --pug files -css -home.html -other webpages -app.js base.pug is template where all files are includ ...
I have put the images folder inside the views folder and added the relative path to the images but the images are not loading on the html page. I have ...
guys. I'm still learning express, and I am using Pug to view my elements in the browser. I'm showing an error alert when a client tries to send a test ...
This is what I have so far -- everything is ok except that the links go to http://localhost:5173/[object%20Object] and I think I've hit a mental wall. ...
JS file config is And a pug file with a button triggers the "postLogin" function. The result is error Firebase: Error (auth/operation-not-supported ...
Can someone tell me why, even though I am extending my head block the html that is generated goes into the body and not the header? I have layout pug ...
I am creating a simple node.js app that uses chart.js for some visualisations but when trying to import and use Chart I am getting errors. I used npm ...
The main question is, is there a way to add a space between the html div's generated by a .pug file? I have been converting a collogues HTML into Pug ...
Nested populate is resulting in a json output in pug - when I need it in normal string format. My function is here - I am then printing it like thi ...
A pug file with button(onclick) run the function in js file, if both of the files are inside the public and views folder or both of the files are out ...
I want to update the HTML/pug page of multiple users when particular data changes in my MongoDB database. A user(A) follows another user(B) (whose dat ...
app.js I am using VScode for webdev and the images on my localhost website show only after I open files home.pug and contact.pug in vscode in addition ...