Pug templates allowed in Quasar2 app scaffolded with Quasar CLI with option Vite? #14072
Answered
by
yusufkandemir
JacquesRobin
asked this question in
General - Components / Directives / etc
-
Hi, I am trying to use Pug as template language in the Quasar2/Vue3 scaffolded by the Quasar CLI with the Vite option. In the IndexPage.vue component, I just changed:
with
and I get what looks like a transpiler pipeline error below. In order to use Pug in templates must I revert to using webpack to build the Quasar2/Vue3 app?
|
Beta Was this translation helpful? Give feedback.
Answered by
yusufkandemir
Jul 27, 2022
Replies: 1 comment 1 reply
-
This is not related to Quasar. Pug is not a Quasar CLI feature, that wasn't the case with Webpack either. But, you can easily add it by running |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
JacquesRobin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is not related to Quasar. Pug is not a Quasar CLI feature, that wasn't the case with Webpack either. But, you can easily add it by running
npm i -D pug
/yarn add -D pug
as written here.