Sha256: 17480f17e33e0310ca0a2e3785f1a0ba1fbf1db6923daff4c87a7598f68ef1b1
Contents?: true
Size: 1.28 KB
Versions: 11
Compression:
Stored size: 1.28 KB
Contents
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <% application_name = ShopifyApp.configuration.application_name %> <title><%= application_name %></title> <%= stylesheet_link_tag 'application' %> <% if ShopifyApp.use_webpacker? %> <%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %> <% elsif ShopifyApp.use_importmap? %> <%= javascript_importmap_tags %> <% else %> <%= javascript_include_tag 'application', "data-turbolinks-track" => true %> <% end %> <%= csrf_meta_tags %> </head> <body> <div class="app-wrapper"> <div class="app-content"> <main role="main"> <%= yield %> </main> </div> </div> <%= render 'layouts/flash_messages' %> <script src="https://unpkg.com/@shopify/app-bridge@2"></script> <%= content_tag(:div, nil, id: 'shopify-app-init', data: { api_key: ShopifyApp.configuration.api_key, shop_origin: @shop_origin || (@current_shopify_session.domain if @current_shopify_session), host: @host, debug: Rails.env.development? } ) %> <% if content_for?(:javascript) %> <div id="ContentForJavascript" data-turbolinks-temporary> <%= yield :javascript %> </div> <% end %> </body> </html>
Version data entries
11 entries across 11 versions & 2 rubygems