Top "Pug" questions

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

Combining react and jade

I am working on an isomorphic javascript app with express + react. We started out using jade for server side templates …

javascript node.js express pug reactjs
How to get use ng-pattern

I have a simple text input in which I only want to allow floats and ints (watch out: jade) input.…

regex angularjs pug ng-pattern
How do I put a html tag conditional in jade?

In jade, I want to put in a html tag conditional as per this method, which puts in <!--[…

html internet-explorer node.js pug
How can I add a style tag in the header with jade/pug?

I want something like this: html head style(type="text/css") table { width: 100% } body table But can't find the right …

pug
Is there any way to use multiple view engines with Express + Node.js

Scenario: I had developed some transactional pages using Node.js, Express + Handlebars as view engine and MongoDB. Now the issue …

node.js express handlebars.js pug viewengine
How to insert raw HTML in Pug file (not include external HTML file)

So what I want is to put some multiline HTML into a Pug file and can't find anywhere how to …

html pug
Jade: Change active menu item in parent template

I have a navigation bar in my parent jade template and I'd like to highlight the item which is currently …

html pug
How to properly render partial views, and load JavaScript files in AJAX using Express/Jade?

Summary I am using Express + Jade for my web application, and I'm struggling with rendering partial views for my AJAX …

ajax layout express pug templating
node.js - what are the advantages of using jade

I learnt that JADE is a template language and it is preferred engine for express. What are the advantages of …

node.js pug
Access element whose parent is hidden - cypress.io

The question is as given in the title, ie, to access element whose parent is hidden. The problem is that, …

javascript angular pug ui-automation cypress