ユーザ用ツール

サイト用ツール


No renderer 'odt' found for mode 'odt'
development:ide:netbeans:comapss

SassとCompass

NetBeansでSass、Comapssを利用する

準備

rubyとgemのインストールについてはSassとCompassを参照

設定

メニューの ツール → オプション → その他 → CSSプリプロセッサ を選択
参照からscss.batを選択する1)2)

プロジェクトを右クリックして、プロパティ ⇒ CSSプリプロセッサ ⇒ Sass を選択
「保存時にSassファイルをコンパイル」にチェックを入れて、入力、出力のディレクトリを指定。3)
コンパイラオプションは以下の通り

--compass --style compressed --unix-newlines -E UTF-8
1)
C:\Ruby\bin\scss.batみたいな感じ
2)
sass.batだとinvalid option: –sourcemapのエラーが出ます
3)
Webルートを基準に(webroot)/xxx/sassみたいに指定すればOK。(webroot)は書きませんよ
development/ide/netbeans/comapss.txt · 最終更新: 2017/04/14 05:21 by 127.0.0.1