grunt html prettyprinter 美化HTML的Grunt任务
grunt-html-prettyprinter美化HTML的任务入门在项目的旁边安装这个grunt插件: npm install grunt-html-prettyprinter然后将此行添加到您项目的grunt.js gruntfile中: grunt . loadNpmTasks ( 'grunt-html-prettyprinter' ) ;文档grunt . initConfig ( { // Beautify single file 'html-prettyprinter' : { single : { // HTML file to beauty src : 'dirty/index.html' , // Destination of HTML file dest : 'clean
下载地址
用户评论