mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 09:27:13 +00:00
Merge pull request #1361 from DaxChen/patch-1
Add better support for pug
This commit is contained in:
commit
2a4119cdb8
@ -20,6 +20,10 @@ export default function ({ isClient }) {
|
||||
'stylus': styleLoader.call(this, 'stylus', 'stylus-loader'),
|
||||
'styl': styleLoader.call(this, 'stylus', 'stylus-loader')
|
||||
},
|
||||
template: {
|
||||
// for pug, see https://github.com/vuejs/vue-loader/issues/55
|
||||
doctype: 'html'
|
||||
},
|
||||
preserveWhitespace: false,
|
||||
extractCSS: extractStyles.call(this)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user