2
1

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 1 year has passed since last update.

Phoenix 1.6.5にTailwindを追加する方法

Last updated at Posted at 2022-01-01

[追記]
現在ではphx_gen_tailwindをdeps.getして

mix phx.gen.tailwind

を実行するだけで全て設定されます。


基本的にはMix Taskを実行するだけで諸々設定してくれます。

あとはassets/css/app.cssに

assets/css/app.css
@tailwind base;
@tailwind components;
@tailwind utilities;

を追記すれば動くようになります。

2
1
1

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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?