mix uikit.setup (elixir_uikit v0.7.4)

Copy Markdown

Sets up UIkit in your Phoenix application — no Node.js required

UIkit's JS and SCSS source files are shipped with the elixir_uikit package. This task configures your project to use them directly from deps/elixir_uikit — nothing is vendored into your project.

This task will:

  • Remove Tailwind CSS, DaisyUI, and heroicons
  • Add and configure dart_sass with a load path into the dep's SCSS
  • Configure esbuild aliases to resolve UIkit JS from the dep
  • Set up assets/js/app.js with UIkit imports and LiveView hooks
  • Create assets/css/app.scss with UIkit SCSS imports
  • Add UIkit component imports to your web module

No Node.js or npm installation is required.

Example

mix uikit.setup