@@ -81,7 +81,7 @@ config :tailwind,
8181 default: [
8282 args: ~w(
8383 --input=assets/css/app.css
84- --output=priv/static/assets/app.css
84+ --output=priv/static/assets/css/ app.css
8585 ) ,
8686 cd: Path .expand (" .." , __DIR__ )
8787 ]
@@ -131,7 +131,7 @@ alias for deployments (with the `--minify` option):
131131```
132132
133133Now let's change ` config/config.exs ` to tell ` tailwind `
134- to build our css bundle into ` priv/static/assets ` .
134+ to build our css bundle into ` priv/static/assets/css ` .
135135We'll also give it our ` assets/css/app.css ` as our css entry point:
136136
137137``` elixir
@@ -140,7 +140,7 @@ config :tailwind,
140140 default: [
141141 args: ~w(
142142 --input=assets/css/app.css
143- --output=priv/static/assets/app.css
143+ --output=priv/static/assets/css/ app.css
144144 ) ,
145145 cd: Path .expand (" .." , __DIR__ )
146146 ]
@@ -207,7 +207,7 @@ For a typical Phoenix application, updating from Tailwind v3 to v4 requires the
207207 - --input=css/app.css
208208 - --output=../priv/static/assets/app.css
209209 + --input=assets/css/app.css
210- + --output=priv/static/assets/app.css
210+ + --output=priv/static/assets/css/ app.css
211211 ),
212212 - cd: Path.expand("../assets", __DIR__)
213213 + cd: Path.expand("..", __DIR__)
0 commit comments