<%= csrf_meta_tags %> <%= csp_meta_tag %> <meta name="google-adsense-account" content="ca-pub-3049695613396548"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <%= javascript_importmap_tags %> <%= javascript_include_tag 'application' %> <%= javascript_include_tag 'https://www.gstatic.com/charts/loader.js' %> <%= javascript_include_tag 'chartkick' %> <script src="https://code.jquery.com/jquery-2.1.4.min.js"></script> <script src="http://code.highcharts.com/highcharts.js"></script> <%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
# config/importmap.rb pin "application", preload: true pin "@hotwired/turbo-rails", to: "turbo.min.js", preload: true pin "chartkick", to: "chartkick.js" pin "Chart.bundle", to: "Chart.bundle.js"
// Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails import "chartkick" import "Chart.bundle" import "@hotwired/turbo-rails" import "app/controllers" import 'custom'; // Import your custom JavaScript file import { Turbo } from "@hotwired/turbo-rails" window.Turbo = Turbo //= require rails-ujs import "controllers"
//= link_tree ../images //= link_directory ../stylesheets .css //= link_tree ../builds //= link_tree ../../javascript .js //= link_tree ../../../vendor/javascript .js