- Add cssbundling-rails and jsbundling-rails gems for improved asset management. - Create a Procfile for development with separate processes for CSS and JS. - Remove unused jQuery and Bootstrap assets from the application. - Update .gitignore to exclude build artifacts and node_modules. These changes streamline the asset pipeline, allowing for better organization and performance in handling CSS and JS files. The removal of unused assets reduces clutter and potential conflicts in the asset management process.
27 lines
977 B
Plaintext
27 lines
977 B
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<!-- <title><%#= content_for(:title) || "Sample App" %></title>-->
|
|
<title><%= full_title(yield(:title)) %></title>
|
|
<%= render 'layouts/rails_default' %>
|
|
<%= render 'layouts/shim' %>
|
|
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
|
|
<%= javascript_include_tag "application", "data-turbo-track": "reload", type: "module" %>
|
|
</head>
|
|
|
|
<body>
|
|
<%= render 'layouts/header' %>
|
|
<div class="container">
|
|
<% flash.each do |message_type, message| %>
|
|
<%= content_tag(:div, message, class: "alert alert-#{message_type}") %>
|
|
<!-- <div class="alert alert-<%#= message_type %>"><%#= message %></div>-->
|
|
<% end %>
|
|
<%= yield %>
|
|
<%= render 'layouts/footer' %>
|
|
<%#= debug(params) if Rails.env.development? %>
|
|
<%= debug(params.to_yaml) if Rails.env.development? %>
|
|
<%= debug(Time.now) if Rails.env.development? %>
|
|
</div>
|
|
</body>
|
|
</html>
|