webstorm中-w配合-P的話-P是無效的。
jade?-P -w index.jade
? rendered index.html
? rendered /Volumes/others/webroot/private_subject/js/imooc-jade/index.html
生成的index.html還是壓縮形式的。再sublime中卻是正常的。
jade?-P -w index.jade
? rendered index.html
? rendered /Volumes/others/webroot/private_subject/js/imooc-jade/index.html
生成的index.html還是壓縮形式的。再sublime中卻是正常的。
2015-08-03
舉報
2016-02-03
-P可以啊,我的是webstorm 11
http://jingyan.baidu.com/album/c146541395a7a40bfcfc4cb6.html?picindex=4 這是教程
2016-02-03
我沒有用-w,如何用express向jade傳值,按上面配置后會一直出錯,實時編譯也影響開發效率,最后還是不用了