0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

sass

Last updated at Posted at 2016-09-30

scssからcssへ変換

scssとcssのファイルがある所で
sass --style expanded --watch scss:css
抜けるには
Ctrl C


プロジェクトにsass導入

必要なファイル[全てプロジェクト直下に配置]

compass.config.rb

既存プロジェクトから持ってくる(自分で作成)

Gruntfile.js

既存プロジェクトから持ってくる(自分で作成)
プロジェクト直下でnpm install実行

package.json

プロジェクト直下でnpm init実行


sass使用方法

1.ターミナルを2つ開く
2.片方のターミナルでgrunt実行
3.もう片方のターミナルでsassファイル編集
4.sass編集するとcssに反映される


0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?