1// install pug needed libs
2// edit quasar.conf.js as follow
3 extendWebpack (cfg) {
4 cfg.module.rules.push({
5 enforce: 'pre',
6 test: /\.(js|vue)$/,
7 exclude: /node_modules/
8 })
9 cfg.module.rules.push({
10 test: /\.pug$/,
11 loader: 'pug-plain-loader'
12 })
13 },
14
1// yarn
2yarn add --dev pug pug-plain-loader
3// npm
4npm install --save-dev pug pug-plain-loader