Sha256: 979ebb55fcd0e4894ebe33e3418850607e462ec406bfbc5face8ce42a3bdda45
Contents?: true
Size: 1.19 KB
Versions: 1
Compression:
Stored size: 1.19 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@1"></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), debug: Rails.env.development? } ) %> <% if content_for?(:javascript) %> <div id="ContentForJavascript" data-turbolinks-temporary> <%= yield :javascript %> </div> <% end %> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shopify_app-17.2.1 | lib/generators/shopify_app/install/templates/embedded_app.html.erb |