Closed u3u closed 6 years ago
+1
Example of using pug: http://dotwe.org/vue/99021166941b8839191cdcf6099ce231
Maybe you can config you webpack.config.js like this (for v2+):
rules: [{
loader: 'weex-loader',
options: {
loaders: {
scss: ['sass-loader'],
sass: [{
loader: 'sass-loader',
options: { indentedSyntax: true }
}],
less: ['less-loader'],
stylus: ['stylus-loader'],
styl: ['stylus-loader']
}
}
}
为什么只能使用
jade
和jade-html-loader
? 使用pug
和pug-loader
会显示空白?