スポンサーリンク

PhoenixでBootstrap+SASS

Phoenixには、もともとBootstrap3が入っているが、sassは入っていない。

image

Windows 8.1
VirtualBox 5.1.14
Vagrant 1.9.1
CentOS7.3
Erlang/OTP 19
Elixir 1.3.4
Phoenix 1.2.1

環境構築は以下のように行っている

http://twosquirrel.mints.ne.jp/?p=14421

http://twosquirrel.mints.ne.jp/?p=14545

 

RailsTutorialのように、sassを使用するためには、以下のように、npm install sass-brunch をすればよいらしい。

cd /vagrant
cd sample_app
npm install --save --no-bin-links sass-brunch

image image

 

Elixir+PhoenixFrameworkでSASSを使う
futosu
2016年04月23日に投稿
http://qiita.com/futosu/items/9899edbf6e013d7be407

スポンサーリンク