Skip to content
Advertisement

Pug render 2 templates in the same row

Is there a way to render these 2 templates in one line in Pug?

JavaScript

I have been trying with adding span or moving the code around but not able to fix it yet. This code renders but in 2 rows, I essentially want this code in one row.

Any ideas are helpful! Thanks 🙂

Advertisement

Answer

I actually figured this with the help of a colleague Adding a v-flex.compact above the 2 templates worked, as below:

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement