Skip to main content

All Questions

Tagged with or
0 votes
0 answers
47 views

I am working with a Pug/SCSS template using Vite and the Vituum plugin, and I am consistently hitting a build error that seems to be related to the Pug parser's handling of template logic. Despite ...
Dzyn's user avatar
  • 1
0 votes
0 answers
35 views

I’m using a Vite + Vituum + Pug + SCSS template (based on the teacher’s repository vite-pug-scss-template) for a web-technologies lab. When I run npm run dev, the dev server starts, but: The browser ...
Dzyn's user avatar
  • 1
1 vote
1 answer
58 views

is there any way to have multiple nested layouts in JADE? for example: master.pug then master-spec.pug then homepage.pug what I'm trying to achieve - is to add a canonical meta tag to each page in the ...
Semen Shekhovtsov's user avatar
-2 votes
1 answer
84 views

I use pug template with Node.JS. How can I use a label to hide file input control and use the label click to upload file? I have done the same thing using bootstrap but not sure about about to ...
khteh's user avatar
  • 4,300
0 votes
2 answers
75 views

Is it possible to create aliases for pug mixins? I have a library of generic mixins for a project, but then have another mixin that when I call it I want to modify the behavior of some of the generic ...
Scott Casey's user avatar
3 votes
1 answer
146 views

My server.js contains following code to serve the image on server app.use(express.static('public')); app.use('/images', express.static('images')); All the images are stored in '/public/images/' dir ...
Radheshyam Kori's user avatar
1 vote
2 answers
66 views

My Node.JS app makes an external API call which returns markdown response. I then use https://github.com/showdownjs/showdown toconvert it to HTML and append it to a scrollable list in the following ...
khteh's user avatar
  • 4,300
1 vote
1 answer
69 views

I have the following PUG template: extends layout block append head link(type='stylesheet', href='/stylesheets/mystyle.css', rel='stylesheet') block layout-content #chat-app #chat.has-text-...
khteh's user avatar
  • 4,300
0 votes
1 answer
158 views

I was trying to use inline styling, but suddenly the console is giving this error and ain't letting me do one important task. each review in tour.reviews .mc_reviews ...
Abhrajit Saha's user avatar
1 vote
1 answer
65 views

I am trying to run a simple pug for loop inside of my nuxt app. I installed https://www.npmjs.com/package/vue-pug-loader by running the commands, and the syntax seems to work: <template lang="...
m rolland's user avatar
0 votes
1 answer
41 views

So I am having an issue with figuring out how to get the variable that is passed from NodeJS into my Pug Template into a variable within the Pug Template's Script tag. The issue is that it is a ...
ShadowCoding's user avatar
0 votes
1 answer
348 views

My stack consists of Pug templates, JS (Jquery), yaml and stylus files. I am struggling to get ESLint to work with Pug. I have installed the eslint-plugin-pug and added it to the plugins in the eslint ...
Hatmat's user avatar
  • 1
2 votes
2 answers
74 views

I have a program which I have reduced to almost nothing, and still get the problem that, if I include a HTML5 Video construct, then the initial route gets called twice. app.js var express = require('...
ImTalkingCode's user avatar
1 vote
1 answer
28 views

This example mixin article div if block block +article Test When inspecting the code it looks like one space, but if we start editing the text node we will see this: <div>Test ...
MaximPro's user avatar
  • 566
1 vote
0 answers
101 views

I am using angular 17, I use pug template, current, I use ng-cli-pug-loader to load pug. I want to transfer to esbuild, so after researching I know that esbuild can config plugin. Can I use plugin to ...
Minh Đặng's user avatar

15 30 50 per page
1
2 3 4 5
430