mix cinder.install (Cinder v0.1.1)

View Source

Installs 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.

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

  1. Adds Cinder's files to your Tailwind configuration content paths
  2. Provides setup instructions for using Cinder in your application
  3. 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:

  1. Add Cinder.setup() to your Application.start/2 function (if using custom filters)
  2. Start using Cinder tables in your LiveView templates
  3. Explore the documentation for advanced features