Answer the question
In order to leave comments, you need to log in
How to pass parameter from Vue to Pug?
How to correctly pass a parameter from Vue to Pug
I did something like this:
<template lang="pug">
- var newDesign = isNewDesign; // isNewDesign - это параметр из data
p test: #{newDesign} // тут ничего не выводит, получается "test: "
</template>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question