Top "Pug" questions

Pug (formerly known as Jade) is a robust, elegant and feature-rich template engine for Node.

Client on node: Uncaught ReferenceError: require is not defined

So, I am writing an application with the node/express + jade combo. I have client.js, which is loaded on …

javascript node.js sockets express pug
Change the "No file chosen":

I have a button "Choose file" as follows (I am using Jade but it should be the same as Html5): …

html button file-upload pug
Node - how to run app.js?

I am very new to Node.js and I tried to run a project (made by other developer) by having …

node.js pug
How can I render inline JavaScript with Jade / Pug?

I'm trying to get JavaScript to render on my page using Jade (http://jade-lang.com/) My project is in NodeJS …

node.js express pug
CSS how to make scrollable list

I am trying to create a webpage which is made up of a header and bellow the header a list …

html css pug
Error: Failed to lookup view in Express

Note: my auto answer at end of the post I'm trying to make a better experience of nodeJS and i …

node.js express pug
Change value of input placeholder via model?

I'm trying to change the value of the input placeholder from a controller but cant quite figure out how. input(…

angularjs pug
Angular 4: InvalidPipeArgument: '[object Object]' for pipe 'AsyncPipe'

i need your help, i'm trying to display some datas from my firebase but it trhows me an error like …

angular pipe pug observable angularfire2
How to pass variable from jade template file to a script file?

I'm having trouble with a variable (config) declared in a jade template file (index.jade) that isn't passed to a …

javascript node.js pug
Loop in Jade (currently known as "Pug") template engine

I want to use a simple loop like for(int i=0; i<10; i++){}. How do I use it in …

javascript for-loop pug express