windows下的安裝css
1.ruby安裝windows
1.先到官網去下載一個Ruby2.2.3(x64),https://rubyinstaller.org/downloads/sass
2.在安裝的時候,勾選第二個Add Ruby executables to your PATH這個選項。 添加環境變量,否則之後使用編譯軟件的時候會提示找不到ruby環境。ruby
2.sass安裝spa
安裝完ruby以後,在開始菜單中,找到剛纔咱們安裝的ruby,打開start command prompt with ruby 命令行
而後直接在命令行中輸入3d
gem install sass
安裝成功以後就能夠在噹噹前文件cmd 輸入scss --watch scss:csscode
如想要文件名對號入座則scss --watch scss/index:css/indexblog
其餘的安裝方法和坑後續再說。cmd
f 3d0a4ad06c5503e1cb88827443593969e689ac96b5161140b08f0becb7b792cf