11
13

More than 5 years have passed since last update.

Stylusのコンパイル、ウォッチング等

Posted at

公式サイト

インストール

$ sudo npm install -g stylus

ヘルプを見る

$ stylus -h
$ stylus --help

stylusのバージョンを確認する

$ stylus -V
$ stylus --version

同じディレクトリに同じファイル名でコンパイル

$ stylus ファイル名.styl

出力先のディレクトリを指定してコンパイル

$ stylus ファイル名.styl --out ディレクトリパス
$ stylus ファイル名.styl -o ディレクトリパス

ファイルの変更を監視して自動的にコンパイル

stylus -w ファイル名.styl
stylus --watch ファイル名.styl

CSS-Stylus変換Webサービス

11
13
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
13