Sha256: 8e06c212dc5969df4cb23de25def3d11464449b7033aad988aa9f98b0c310ac4

Contents?: true

Size: 287 Bytes

Versions: 12

Compression:

Stored size: 287 Bytes

Contents

# frozen_string_literal: true

class TailwindConfigGenerator < Rails::Generators::Base
  source_root File.expand_path("templates", __dir__)

  def create_tailwind_config_file
    @engines_paths = Maquina.configuration.tailwind_content

    template "config/tailwind.config.js"
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
maquina-0.7.2 lib/generators/maquina/tailwind_config/templates/lib/generators/tailwind_config/tailwind_config_generator.rb.tt
maquina-0.7.1 lib/generators/maquina/tailwind_config/templates/lib/generators/tailwind_config/tailwind_config_generator.rb.tt
maquina-0.5.2 lib/generators/maquina/tailwind_config/templates/lib/generators/tailwind_config/tailwind_config_generator.rb.tt
maquina-0.5.1 lib/generators/maquina/tailwind_config/templates/lib/generators/tailwind_config/tailwind_config_generator.rb.tt
maquina-0.4.0 lib/generators/maquina/tailwind_config/templates/lib/generators/tailwind_config/tailwind_config_generator.rb.tt
maquina-0.3.0 lib/generators/maquina/tailwind_config/templates/lib/generators/tailwind_config/tailwind_config_generator.rb.tt
maquina-0.2.5 lib/generators/maquina/tailwind_config/templates/lib/generators/tailwind_config/tailwind_config_generator.rb.tt
maquina-0.2.4 lib/generators/maquina/tailwind_config/templates/lib/generators/tailwind_config/tailwind_config_generator.rb.tt
maquina-0.2.3 lib/generators/maquina/tailwind_config/templates/lib/generators/tailwind_config/tailwind_config_generator.rb.tt
maquina-0.2.2 lib/generators/maquina/tailwind_config/templates/lib/generators/tailwind_config/tailwind_config_generator.rb.tt
maquina-0.2.1 lib/generators/maquina/tailwind_config/templates/lib/generators/tailwind_config/tailwind_config_generator.rb.tt
maquina-0.2.0 lib/generators/maquina/tailwind_config/templates/lib/generators/tailwind_config/tailwind_config_generator.rb.tt