twitter bootstrap make from source

后端 未结 5 1114
醉酒成梦
醉酒成梦 2020-12-15 10:51

So I am trying to \"build\" twitter bootstrap from source git://github.com/twitter/bootstrap.git and I git clone it to my local machine.

Obviously, on my local machi

5条回答
  •  星月不相逢
    2020-12-15 11:10

    This might be handy for some of you. See Readme for usage/options. Its a simple batch to compile up bootstrap from source on Windows. https://github.com/chazelton/bootstrap. You can also just grab "make.bat" if you like and drop it in your downloaded source. It is forked here for convenience. Basic usage below

    C:\projects\bootstrap>make (would create sub dir "build" with css, js, img dirs)
    C:\projects\bootstrap>make -c (combines bootstrap/responsive to one file)
    C:\projects\bootstrap>make -l (outputs source less files under css dir)
    

    See additional options in readme on GitHub...

    NOTE: requires UglifyJs and Less to be installed via npm globally so => npm install less -g. The batch will prompt you if these are missing. However you'll need to install them manually.

提交回复
热议问题