tailwindcss-rails 2.0.0.rc1-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE-DEPENDENCIES +26 -0
- data/MIT-LICENSE +20 -0
- data/README.md +38 -0
- data/Rakefile +14 -0
- data/app/assets/fonts/Inter-italic.alternates.var.woff2 +0 -0
- data/app/assets/fonts/Inter-italic.cyrillic.var.woff2 +0 -0
- data/app/assets/fonts/Inter-italic.extra.var.woff2 +0 -0
- data/app/assets/fonts/Inter-italic.greek.var.woff2 +0 -0
- data/app/assets/fonts/Inter-italic.latin-ext.var.woff2 +0 -0
- data/app/assets/fonts/Inter-italic.latin.var.woff2 +0 -0
- data/app/assets/fonts/Inter-italic.symbols.var.woff2 +0 -0
- data/app/assets/fonts/Inter-italic.vietnamese.var.woff2 +0 -0
- data/app/assets/fonts/Inter-roman.alternates.var.woff2 +0 -0
- data/app/assets/fonts/Inter-roman.cyrillic.var.woff2 +0 -0
- data/app/assets/fonts/Inter-roman.extra.var.woff2 +0 -0
- data/app/assets/fonts/Inter-roman.greek.var.woff2 +0 -0
- data/app/assets/fonts/Inter-roman.latin-ext.var.woff2 +0 -0
- data/app/assets/fonts/Inter-roman.latin.var.woff2 +0 -0
- data/app/assets/fonts/Inter-roman.symbols.var.woff2 +0 -0
- data/app/assets/fonts/Inter-roman.vietnamese.var.woff2 +0 -0
- data/app/assets/stylesheets/inter-font.css +194 -0
- data/app/assets/stylesheets/tailwind.css +295158 -0
- data/exe/tailwindcss +20 -0
- data/exe/x86_64-linux/tailwindcss +0 -0
- data/lib/generators/tailwindcss/controller/controller_generator.rb +9 -0
- data/lib/generators/tailwindcss/controller/templates/view.html.erb.tt +4 -0
- data/lib/generators/tailwindcss/mailer/mailer_generator.rb +9 -0
- data/lib/generators/tailwindcss/mailer/templates/view.html.erb.tt +5 -0
- data/lib/generators/tailwindcss/mailer/templates/view.text.erb.tt +3 -0
- data/lib/generators/tailwindcss/scaffold/scaffold_generator.rb +34 -0
- data/lib/generators/tailwindcss/scaffold/templates/_form.html.erb.tt +43 -0
- data/lib/generators/tailwindcss/scaffold/templates/edit.html.erb.tt +8 -0
- data/lib/generators/tailwindcss/scaffold/templates/index.html.erb.tt +14 -0
- data/lib/generators/tailwindcss/scaffold/templates/new.html.erb.tt +7 -0
- data/lib/generators/tailwindcss/scaffold/templates/partial.html.erb.tt +22 -0
- data/lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt +15 -0
- data/lib/install/Procfile.dev +2 -0
- data/lib/install/application.tailwind.css +13 -0
- data/lib/install/dev +9 -0
- data/lib/install/tailwind.config.js +22 -0
- data/lib/install/tailwindcss.rb +52 -0
- data/lib/tailwindcss/engine.rb +17 -0
- data/lib/tailwindcss/version.rb +3 -0
- data/lib/tailwindcss-rails.rb +5 -0
- data/lib/tasks/build.rake +20 -0
- data/lib/tasks/clobber.rake +8 -0
- data/lib/tasks/install.rake +6 -0
- metadata +106 -0
data/exe/tailwindcss
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
#! /usr/bin/env ruby
|
2
|
+
# because rubygems shims assume a gem's executables are Ruby
|
3
|
+
|
4
|
+
require "shellwords"
|
5
|
+
|
6
|
+
platform_dir = Dir.glob(File.join(__dir__, "*")).select do |f|
|
7
|
+
File.directory?(f) && Gem::Platform.match(File.basename(f))
|
8
|
+
end.first
|
9
|
+
if platform_dir.nil?
|
10
|
+
raise "Cannot find the tailwindcss executable in #{__dir__} (1)"
|
11
|
+
end
|
12
|
+
|
13
|
+
exe_path = File.join(platform_dir, "tailwindcss")
|
14
|
+
if !File.exist?(exe_path)
|
15
|
+
raise "Cannot find the tailwindcss executable in #{__dir__} (2)"
|
16
|
+
end
|
17
|
+
|
18
|
+
command = Shellwords.join([exe_path, ARGV].flatten)
|
19
|
+
puts "+ #{command}"
|
20
|
+
exec(command)
|
Binary file
|
@@ -0,0 +1,34 @@
|
|
1
|
+
require 'rails/generators/erb/scaffold/scaffold_generator'
|
2
|
+
require "rails/generators/resource_helpers"
|
3
|
+
|
4
|
+
module Tailwindcss
|
5
|
+
module Generators
|
6
|
+
class ScaffoldGenerator < Erb::Generators::ScaffoldGenerator
|
7
|
+
include Rails::Generators::ResourceHelpers
|
8
|
+
|
9
|
+
source_root File.expand_path("../templates", __FILE__)
|
10
|
+
|
11
|
+
argument :attributes, type: :array, default: [], banner: "field:type field:type"
|
12
|
+
|
13
|
+
def create_root_folder
|
14
|
+
empty_directory File.join("app/views", controller_file_path)
|
15
|
+
end
|
16
|
+
|
17
|
+
def copy_view_files
|
18
|
+
available_views.each do |view|
|
19
|
+
formats.each do |format|
|
20
|
+
filename = filename_with_extensions(view, format)
|
21
|
+
template filename, File.join("app/views", controller_file_path, filename)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
template "partial.html.erb", File.join("app/views", controller_file_path, "_#{singular_table_name}.html.erb")
|
26
|
+
end
|
27
|
+
|
28
|
+
private
|
29
|
+
def available_views
|
30
|
+
%w(index edit show new _form)
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<%%= form_with(model: <%= model_resource_name %>, class: "contents") do |form| %>
|
2
|
+
<%% if <%= singular_table_name %>.errors.any? %>
|
3
|
+
<div id="error_explanation" class="bg-red-50 text-red-500 px-3 py-2 font-medium rounded-lg mt-3">
|
4
|
+
<h2><%%= pluralize(<%= singular_table_name %>.errors.count, "error") %> prohibited this <%= singular_table_name %> from being saved:</h2>
|
5
|
+
|
6
|
+
<ul>
|
7
|
+
<%% <%= singular_table_name %>.errors.each do |error| %>
|
8
|
+
<li><%%= error.full_message %></li>
|
9
|
+
<%% end %>
|
10
|
+
</ul>
|
11
|
+
</div>
|
12
|
+
<%% end %>
|
13
|
+
|
14
|
+
<% attributes.each do |attribute| -%>
|
15
|
+
<div class="my-5">
|
16
|
+
<% if attribute.password_digest? -%>
|
17
|
+
<%%= form.label :password %>
|
18
|
+
<%%= form.password_field :password %>
|
19
|
+
</div>
|
20
|
+
|
21
|
+
<div class="my-5">
|
22
|
+
<%%= form.label :password_confirmation %>
|
23
|
+
<%%= form.password_field :password_confirmation, class: "block shadow rounded-md border border-gray-200 outline-none px-3 py-2 mt-2 w-full" %>
|
24
|
+
<% elsif attribute.attachments? -%>
|
25
|
+
<%%= form.label :<%= attribute.column_name %> %>
|
26
|
+
<%%= form.<%= attribute.field_type %> :<%= attribute.column_name %>, multiple: true, class: "block shadow rounded-md border border-gray-200 outline-none px-3 py-2 mt-2 w-full" %>
|
27
|
+
<% else -%>
|
28
|
+
<%%= form.label :<%= attribute.column_name %> %>
|
29
|
+
<% if attribute.field_type == :text_area -%>
|
30
|
+
<%%= form.<%= attribute.field_type %> :<%= attribute.column_name %>, rows: 4, class: "block shadow rounded-md border border-gray-200 outline-none px-3 py-2 mt-2 w-full" %>
|
31
|
+
<% elsif attribute.field_type == :check_box -%>
|
32
|
+
<%%= form.<%= attribute.field_type %> :<%= attribute.column_name %>, class: "block mt-2 h-5 w-5" %>
|
33
|
+
<% else -%>
|
34
|
+
<%%= form.<%= attribute.field_type %> :<%= attribute.column_name %>, class: "block shadow rounded-md border border-gray-200 outline-none px-3 py-2 mt-2 w-full" %>
|
35
|
+
<% end -%>
|
36
|
+
<% end -%>
|
37
|
+
</div>
|
38
|
+
|
39
|
+
<% end -%>
|
40
|
+
<div class="inline">
|
41
|
+
<%%= form.submit class: "rounded-lg py-3 px-5 bg-blue-600 text-white inline-block font-medium cursor-pointer" %>
|
42
|
+
</div>
|
43
|
+
<%% end %>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<div class="mx-auto md:w-2/3 w-full">
|
2
|
+
<h1 class="font-bold text-4xl">Editing <%= human_name.downcase %></h1>
|
3
|
+
|
4
|
+
<%%= render "form", <%= singular_table_name %>: @<%= singular_table_name %> %>
|
5
|
+
|
6
|
+
<%%= link_to "Show this <%= human_name.downcase %>", @<%= singular_table_name %>, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
7
|
+
<%%= link_to "Back to <%= human_name.pluralize.downcase %>", <%= index_helper %>_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
8
|
+
</div>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<div class="w-full">
|
2
|
+
<%% if notice.present? %>
|
3
|
+
<p class="py-2 px-3 bg-green-50 mb-5 text-green-500 font-medium rounded-lg inline-block" id="notice"><%%= notice %></p>
|
4
|
+
<%% end %>
|
5
|
+
|
6
|
+
<div class="flex justify-between items-center">
|
7
|
+
<h1 class="text-lg font-bold text-4xl"><%= human_name.pluralize %></h1>
|
8
|
+
<%%= link_to 'New <%= human_name.downcase %>', new_<%= singular_route_name %>_path, class: "rounded-lg py-3 px-5 bg-blue-600 text-white block font-medium" %>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<div id="<%= plural_table_name %>" class="min-w-full">
|
12
|
+
<%%= render @<%= plural_table_name %> %>
|
13
|
+
</div>
|
14
|
+
</div>
|
@@ -0,0 +1,7 @@
|
|
1
|
+
<div class="mx-auto md:w-2/3 w-full">
|
2
|
+
<h1 class="text-lg font-bold text-4xl">New <%= human_name.downcase %></h1>
|
3
|
+
|
4
|
+
<%%= render "form", <%= singular_table_name %>: @<%= singular_table_name %> %>
|
5
|
+
|
6
|
+
<%%= link_to 'Back to <%= human_name.pluralize.downcase %>', <%= index_helper %>_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
7
|
+
</div>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<div id="<%%= dom_id <%= singular_table_name %> %>">
|
2
|
+
<% attributes.reject(&:password_digest?).each do |attribute| -%>
|
3
|
+
<p class="my-5">
|
4
|
+
<strong class="block font-medium mb-1"><%= attribute.human_name %>:</strong>
|
5
|
+
<% if attribute.attachment? -%>
|
6
|
+
<%%= link_to <%= singular_table_name %>.<%= attribute.column_name %>.filename, <%= singular_table_name %>.<%= attribute.column_name %> if <%= singular_table_name %>.<%= attribute.column_name %>.attached? %>
|
7
|
+
<% elsif attribute.attachments? -%>
|
8
|
+
<%% <%= singular_table_name %>.<%= attribute.column_name %>.each do |<%= attribute.singular_name %>| %>
|
9
|
+
<div><%%= link_to <%= attribute.singular_name %>.filename, <%= attribute.singular_name %> %></div>
|
10
|
+
<%% end %>
|
11
|
+
<% else -%>
|
12
|
+
<%%= <%= singular_table_name %>.<%= attribute.column_name %> %>
|
13
|
+
<% end -%>
|
14
|
+
</p>
|
15
|
+
|
16
|
+
<% end -%>
|
17
|
+
<%% if action_name != "show" %>
|
18
|
+
<%%= link_to "Show this <%= human_name.downcase %>", <%= singular_table_name %>, class: "rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
19
|
+
<%%= link_to 'Edit this <%= human_name.downcase %>', edit_<%= singular_table_name %>_path(<%= singular_table_name %>), class: "rounded-lg py-3 ml-2 px-5 bg-gray-100 inline-block font-medium" %>
|
20
|
+
<hr class="mt-6">
|
21
|
+
<%% end %>
|
22
|
+
</div>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<div class="mx-auto md:w-2/3 w-full flex">
|
2
|
+
<div class="mx-auto">
|
3
|
+
<%% if notice.present? %>
|
4
|
+
<p class="py-2 px-3 bg-green-50 mb-5 text-green-500 font-medium rounded-lg inline-block" id="notice"><%%= notice %></p>
|
5
|
+
<%% end %>
|
6
|
+
|
7
|
+
<%%= render @<%= singular_table_name %> %>
|
8
|
+
|
9
|
+
<%%= link_to 'Edit this <%= singular_table_name %>', edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
10
|
+
<div class="inline-block ml-2">
|
11
|
+
<%%= button_to 'Destroy this <%= singular_table_name %>', <%= singular_table_name %>_path(@<%= singular_table_name %>), method: :delete, class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 font-medium" %>
|
12
|
+
</div>
|
13
|
+
<%%= link_to 'Back to <%= plural_table_name %>', <%= index_helper %>_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
14
|
+
</div>
|
15
|
+
</div>
|
data/lib/install/dev
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
const defaultTheme = require('tailwindcss/defaultTheme')
|
2
|
+
|
3
|
+
module.exports = {
|
4
|
+
darkMode: 'media',
|
5
|
+
content: [
|
6
|
+
'./app/helpers/**/*.rb',
|
7
|
+
'./app/javascript/**/*.js',
|
8
|
+
'./app/views/**/*'
|
9
|
+
],
|
10
|
+
theme: {
|
11
|
+
extend: {
|
12
|
+
fontFamily: {
|
13
|
+
sans: ['Inter var', ...defaultTheme.fontFamily.sans],
|
14
|
+
},
|
15
|
+
},
|
16
|
+
},
|
17
|
+
plugins: [
|
18
|
+
require('@tailwindcss/forms'),
|
19
|
+
require('@tailwindcss/aspect-ratio'),
|
20
|
+
require('@tailwindcss/typography'),
|
21
|
+
]
|
22
|
+
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
APPLICATION_LAYOUT_PATH = Rails.root.join("app/views/layouts/application.html.erb")
|
2
|
+
|
3
|
+
if APPLICATION_LAYOUT_PATH.exist?
|
4
|
+
say "Add Tailwindcss include tags and container element in application layout"
|
5
|
+
insert_into_file APPLICATION_LAYOUT_PATH.to_s, <<~ERB.indent(4), before: /^\s*<%= stylesheet_link_tag/
|
6
|
+
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
|
7
|
+
ERB
|
8
|
+
insert_into_file APPLICATION_LAYOUT_PATH.to_s, %( <main class="container mx-auto mt-28 px-5 flex">\n ), before: /^\s*<%= yield/
|
9
|
+
insert_into_file APPLICATION_LAYOUT_PATH.to_s, %(\n </main>), after: /^\s*<%= yield %>/
|
10
|
+
else
|
11
|
+
say "Default application.html.erb is missing!", :red
|
12
|
+
say %( Add <%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %> within the <head> tag in your custom layout.)
|
13
|
+
end
|
14
|
+
|
15
|
+
say "Build into app/assets/builds"
|
16
|
+
empty_directory "app/assets/builds"
|
17
|
+
keep_file "app/assets/builds"
|
18
|
+
|
19
|
+
if (sprockets_manifest_path = Rails.root.join("app/assets/config/manifest.js")).exist?
|
20
|
+
append_to_file sprockets_manifest_path, %(//= link_tree ../builds\n)
|
21
|
+
end
|
22
|
+
|
23
|
+
if Rails.root.join(".gitignore").exist?
|
24
|
+
append_to_file(".gitignore", %(\n/app/assets/builds/*\n!/app/assets/builds/.keep\n))
|
25
|
+
end
|
26
|
+
|
27
|
+
unless Rails.root.join("config/tailwind.config.js").exist?
|
28
|
+
say "Add default config/tailwindcss.config.js"
|
29
|
+
copy_file "#{__dir__}/tailwind.config.js", "config/tailwind.config.js"
|
30
|
+
end
|
31
|
+
|
32
|
+
unless Rails.root.join("app/assets/stylesheets/application.tailwind.css").exist?
|
33
|
+
say "Add default app/assets/stylesheets/application.tailwind.css"
|
34
|
+
copy_file "#{__dir__}/application.tailwind.css", "app/assets/stylesheets/application.tailwind.css"
|
35
|
+
end
|
36
|
+
|
37
|
+
if Rails.root.join("Procfile.dev").exist?
|
38
|
+
append_to_file "Procfile.dev", "css: rails tailwindcss:watch\n"
|
39
|
+
else
|
40
|
+
say "Add default Procfile.dev"
|
41
|
+
copy_file "#{__dir__}/Procfile.dev", "Procfile.dev"
|
42
|
+
|
43
|
+
say "Ensure foreman is installed"
|
44
|
+
run "gem install foreman"
|
45
|
+
end
|
46
|
+
|
47
|
+
say "Add bin/dev to start foreman"
|
48
|
+
copy_file "#{__dir__}/dev", "bin/dev"
|
49
|
+
chmod "bin/dev", 0755, verbose: false
|
50
|
+
|
51
|
+
say "Compile initial Tailwind build"
|
52
|
+
run "rails tailwindcss:build"
|
@@ -0,0 +1,17 @@
|
|
1
|
+
require "rails"
|
2
|
+
|
3
|
+
module Tailwindcss
|
4
|
+
class Engine < ::Rails::Engine
|
5
|
+
initializer "tailwindcss.assets" do
|
6
|
+
Rails.application.config.assets.precompile += %w( inter-font.css )
|
7
|
+
end
|
8
|
+
|
9
|
+
initializer "tailwindcss.disable_generator_stylesheets" do
|
10
|
+
Rails.application.config.generators.stylesheets = false
|
11
|
+
end
|
12
|
+
|
13
|
+
config.app_generators do |g|
|
14
|
+
g.template_engine :tailwindcss
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
TAILWIND_COMPILE_COMMAND = "#{Pathname.new(__dir__).to_s}/../../exe/tailwindcss -i #{Rails.root.join("app/assets/stylesheets/application.tailwind.css")} -o #{Rails.root.join("app/assets/builds/tailwind.css")} -c #{Rails.root.join("config/tailwind.config.js")}"
|
2
|
+
|
3
|
+
namespace :tailwindcss do
|
4
|
+
desc "Build your Tailwind CSS"
|
5
|
+
task :build do
|
6
|
+
system TAILWIND_COMPILE_COMMAND
|
7
|
+
end
|
8
|
+
|
9
|
+
task :watch do
|
10
|
+
system "#{TAILWIND_COMPILE_COMMAND} -w"
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
Rake::Task["assets:precompile"].enhance(["tailwindcss:build"])
|
15
|
+
|
16
|
+
if Rake::Task.task_defined?("test:prepare")
|
17
|
+
Rake::Task["test:prepare"].enhance(["tailwindcss:build"])
|
18
|
+
elsif Rake::Task.task_defined?("db:test:prepare")
|
19
|
+
Rake::Task["db:test:prepare"].enhance(["tailwindcss:build"])
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,106 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tailwindcss-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0.rc1
|
5
|
+
platform: x86_64-linux
|
6
|
+
authors:
|
7
|
+
- David Heinemeier Hansson
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-12-18 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: railties
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 6.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 6.0.0
|
27
|
+
description:
|
28
|
+
email: david@loudthinking.com
|
29
|
+
executables:
|
30
|
+
- tailwindcss
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- LICENSE-DEPENDENCIES
|
35
|
+
- MIT-LICENSE
|
36
|
+
- README.md
|
37
|
+
- Rakefile
|
38
|
+
- app/assets/fonts/Inter-italic.alternates.var.woff2
|
39
|
+
- app/assets/fonts/Inter-italic.cyrillic.var.woff2
|
40
|
+
- app/assets/fonts/Inter-italic.extra.var.woff2
|
41
|
+
- app/assets/fonts/Inter-italic.greek.var.woff2
|
42
|
+
- app/assets/fonts/Inter-italic.latin-ext.var.woff2
|
43
|
+
- app/assets/fonts/Inter-italic.latin.var.woff2
|
44
|
+
- app/assets/fonts/Inter-italic.symbols.var.woff2
|
45
|
+
- app/assets/fonts/Inter-italic.vietnamese.var.woff2
|
46
|
+
- app/assets/fonts/Inter-roman.alternates.var.woff2
|
47
|
+
- app/assets/fonts/Inter-roman.cyrillic.var.woff2
|
48
|
+
- app/assets/fonts/Inter-roman.extra.var.woff2
|
49
|
+
- app/assets/fonts/Inter-roman.greek.var.woff2
|
50
|
+
- app/assets/fonts/Inter-roman.latin-ext.var.woff2
|
51
|
+
- app/assets/fonts/Inter-roman.latin.var.woff2
|
52
|
+
- app/assets/fonts/Inter-roman.symbols.var.woff2
|
53
|
+
- app/assets/fonts/Inter-roman.vietnamese.var.woff2
|
54
|
+
- app/assets/stylesheets/inter-font.css
|
55
|
+
- app/assets/stylesheets/tailwind.css
|
56
|
+
- exe/tailwindcss
|
57
|
+
- exe/x86_64-linux/tailwindcss
|
58
|
+
- lib/generators/tailwindcss/controller/controller_generator.rb
|
59
|
+
- lib/generators/tailwindcss/controller/templates/view.html.erb.tt
|
60
|
+
- lib/generators/tailwindcss/mailer/mailer_generator.rb
|
61
|
+
- lib/generators/tailwindcss/mailer/templates/view.html.erb.tt
|
62
|
+
- lib/generators/tailwindcss/mailer/templates/view.text.erb.tt
|
63
|
+
- lib/generators/tailwindcss/scaffold/scaffold_generator.rb
|
64
|
+
- lib/generators/tailwindcss/scaffold/templates/_form.html.erb.tt
|
65
|
+
- lib/generators/tailwindcss/scaffold/templates/edit.html.erb.tt
|
66
|
+
- lib/generators/tailwindcss/scaffold/templates/index.html.erb.tt
|
67
|
+
- lib/generators/tailwindcss/scaffold/templates/new.html.erb.tt
|
68
|
+
- lib/generators/tailwindcss/scaffold/templates/partial.html.erb.tt
|
69
|
+
- lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt
|
70
|
+
- lib/install/Procfile.dev
|
71
|
+
- lib/install/application.tailwind.css
|
72
|
+
- lib/install/dev
|
73
|
+
- lib/install/tailwind.config.js
|
74
|
+
- lib/install/tailwindcss.rb
|
75
|
+
- lib/tailwindcss-rails.rb
|
76
|
+
- lib/tailwindcss/engine.rb
|
77
|
+
- lib/tailwindcss/version.rb
|
78
|
+
- lib/tasks/build.rake
|
79
|
+
- lib/tasks/clobber.rake
|
80
|
+
- lib/tasks/install.rake
|
81
|
+
homepage: https://github.com/rails/tailwindcss-rails
|
82
|
+
licenses:
|
83
|
+
- MIT
|
84
|
+
metadata:
|
85
|
+
homepage_uri: https://github.com/rails/tailwindcss-rails
|
86
|
+
rubygems_mfa_required: 'true'
|
87
|
+
post_install_message:
|
88
|
+
rdoc_options: []
|
89
|
+
require_paths:
|
90
|
+
- lib
|
91
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ">"
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: 1.3.1
|
101
|
+
requirements: []
|
102
|
+
rubygems_version: 3.2.32
|
103
|
+
signing_key:
|
104
|
+
specification_version: 4
|
105
|
+
summary: Integrate Tailwind CSS with the asset pipeline in Rails.
|
106
|
+
test_files: []
|