mix uikit.setup (elixir_uikit v0.7.3)
Copy MarkdownSets 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_sasswith a load path into the dep's SCSS - Configure esbuild aliases to resolve UIkit JS from the dep
- Set up
assets/js/app.jswith UIkit imports and LiveView hooks - Create
assets/css/app.scsswith UIkit SCSS imports - Add UIkit component imports to your web module
No Node.js or npm installation is required.
Example
mix uikit.setup