Skip to content

Note

不挑戰記憶力的技術筆記

Menu
Menu

在Windows建立SASS(SCSS) + Compass環境(& Sublime Text 2)

Posted on 2014 年 4 月 10 日 by febr

1. Sublime Text必備的packages:

  • SASS
  • SASS snippets
  • Compass

安裝方式: Ctrl + Shift + p -> input “package control” -> Package Control: Install Package

2.安裝Ruby:
SASS由Ruby撰寫,因此Windows必須先安裝Ruby,下載安裝檔:Ruby Installer

3.安裝SASS:
Run -> cmd

[bash]gem install sass[/bash]

4.安裝Compass:

[bash]gem install compass[/bash]

於想要建立的目錄下建立專案:

[bash]compass create projectXXX[/bash]

.scss存檔後,必須compiler,compass中有個watch功能,可監控.scss,

.scss檔案有變動,會自動compile轉為css file(於stylesheets folder)

[bash]compass watch[/bash]

近期文章

  • [AWS] S3 Object Initiate restore (復原回 Standard)
  • [Windows] 使用者快速登出的方法 Logout/ Logoff/Sign Out from Windows User Account
  • [Windows] Windows 11 安裝Server管理工具Install RSAT(Remote Server Administrator Tools)
  • Chrome出現:你的連線不是私人連線 Your connection is not private
  • [C#] 取得 Request URL 的方法

近期留言

    彙整

    分類

    • Ajax
    • Android
    • ASP
    • ASP.NET MVC
    • Azure
    • C#
    • Cisco
    • CSS
    • Delphi
    • Developer Tools
    • Framework
    • FreeBSD
    • Git
    • HTML5
    • javascript
    • jQuery
    • Juniper
    • Linux
    • Mac
    • PHP
    • Python
    • Server&OS
    • Software
    • SQL server
    • Sublime Text
    • Ubuntu
    • Visual Studio
    • Vmware
    • Web Design
    • Web Development
    • Windows
    • WordPress
    • 未分類
    • 未分類

    彙整

    分類

    • Ajax
    • Android
    • ASP
    • ASP.NET MVC
    • Azure
    • C#
    • Cisco
    • CSS
    • Delphi
    • Developer Tools
    • Framework
    • FreeBSD
    • Git
    • HTML5
    • javascript
    • jQuery
    • Juniper
    • Linux
    • Mac
    • PHP
    • Python
    • Server&OS
    • Software
    • SQL server
    • Sublime Text
    • Ubuntu
    • Visual Studio
    • Vmware
    • Web Design
    • Web Development
    • Windows
    • WordPress
    • 未分類
    • 未分類

    其他操作

    • 登入
    • 訂閱網站內容的資訊提供
    • 訂閱留言的資訊提供
    • WordPress.org 台灣繁體中文
    © 2025 Note | Powered by Superbs Personal Blog theme