mix cinder.install (Cinder v0.1.1)
View SourceInstalls Cinder and configures Tailwind CSS to include Cinder's styles.
This installer ensures that all Tailwind CSS classes used by Cinder are included in your application's generated stylesheets by updating your Tailwind configuration.
Recommended Installation
For new installations, use Igniter:
mix igniter.install cinder
This will automatically add Cinder to your dependencies and run this installer.
Manual Installation
If you've already added Cinder to your dependencies manually:
mix cinder.install
What it does
- Adds Cinder's files to your Tailwind configuration content paths
- Provides setup instructions for using Cinder in your application
- Shows example usage to get you started quickly
Tailwind Configuration
The installer will attempt to automatically update your Tailwind configuration:
- Tailwind v3 and below: Updates
tailwind.config.js
content array - Tailwind v4: Adds
@source
directive to your CSS file
If automatic configuration fails, manual setup instructions will be provided.
Next Steps
After installation:
- Add Cinder.setup() to your Application.start/2 function (if using custom filters)
- Start using Cinder tables in your LiveView templates
- Explore the documentation for advanced features