phx_gen_tailwind
phx_gen_tailwind copied to clipboard
Mix task to add Tailwind CSS to a new Phoenix 1.6+ project
TailwindCSS recently released version 3 with some small changes to the configuration. This change updates the generator to use tailwindcss 3.1.4, which is that latest version today. It also updates...
I updated the `postcss.config.js` to ```js module.exports = { plugins: { 'postcss-import': {}, 'tailwindcss/nesting': {}, tailwindcss: {}, autoprefixer: {}, }, } ``` Created a new css file `components.css` with ```css...
I'm having this error on the terminal `[error] Task #PID started from InstaProWeb.Endpoint terminating ** (stop) :watcher_command_error (phoenix 1.6.5) lib/phoenix/endpoint/watcher.ex:55: Phoenix.Endpoint.Watcher.watch/2 (elixir 1.13.0) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2 (stdlib 3.16.1) proc_lib.erl:226: :proc_lib.init_p_do_apply/3 Function:...