Sha256: a9f0eb0ce8aa76ada76329238b256f9c61c58d1e9452c6cdac85a9ab0d86eb0b
Contents?: true
Size: 1.17 KB
Versions: 9
Compression:
Stored size: 1.17 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' %> <% 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"></script> <%= content_tag(:div, nil, id: 'shopify-app-init', data: { api_key: ShopifyApp.configuration.api_key, shop_origin: (@current_shopify_session.domain if @current_shopify_session), debug: Rails.env.development? } ) %> <% if content_for?(:javascript) %> <div id="ContentForJavascript" data-turbolinks-temporary> <%= yield :javascript %> </div> <% end %> </body> </html>
Version data entries
9 entries across 9 versions & 1 rubygems