非常棒,總結(jié)的也很有道理,創(chuàng)業(yè)初期要不拘小節(jié),發(fā)展成熟再將規(guī)劃標(biāo)準(zhǔn)與協(xié)作
2017-03-01
jade 好像改名叫 pug了 所以根本不存在 jade@2.0
用 npm info jade 查看最高版本就是1.11.x 了
npm 安裝指定版本的命令
npm i less@1.7.5
這樣的確能編譯通過了.但是會(huì)報(bào)
Transformers.less is deprecated, to continue using the :less jade filter after jade@2.0.0, you will need to install jstransformer-less.
把課程學(xué)完 換jade 到 pug
用 npm info jade 查看最高版本就是1.11.x 了
npm 安裝指定版本的命令
npm i less@1.7.5
這樣的確能編譯通過了.但是會(huì)報(bào)
Transformers.less is deprecated, to continue using the :less jade filter after jade@2.0.0, you will need to install jstransformer-less.
把課程學(xué)完 換jade 到 pug
2017-03-01
最新回答 / lilun3119285
可以!2個(gè)文件 ?index.jade ? mixin.jade( 里面寫一個(gè) mixin test() )在index.jade里 加入 include ./mixin.jade ? ?test() 方法里面生成的html會(huì)自動(dòng)加載到index.html中
2017-02-22
Pug also provides a negated version unless (the following are therefore equivalent):
unless user.isAnonymous
p You're logged in as #{user.name}
if !user.isAnonymous
p You're logged in as #{user.name}
unless user.isAnonymous
p You're logged in as #{user.name}
if !user.isAnonymous
p You're logged in as #{user.name}
2016-12-27