Sha256: d40dc022f1a1cfb2de0a6a1fbc880967db695d3d94c3599f707a1483623d1220
Contents?: true
Size: 1.08 KB
Versions: 11
Compression:
Stored size: 1.08 KB
Contents
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Shopify Embedded Example App</title> <%= stylesheet_link_tag 'application' %> <%= 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://cdn.shopify.com/s/assets/external/app.js?<%= Time.now.strftime('%Y%m%d%H') %>"></script> <script type="text/javascript"> ShopifyApp.init({ apiKey: "<%= ShopifyApp.configuration.api_key %>", shopOrigin: "<%= "https://#{ @shop_session.url }" if @shop_session %>", debug: <%= Rails.env.development? ? 'true' : 'false' %>, forceRedirect: true }); </script> <%= javascript_include_tag 'application', "data-turbolinks-track" => true %> <% if content_for?(:javascript) %> <div id="ContentForJavascript" data-turbolinks-temporary> <%= yield :javascript %> </div> <% end %> </body> </html>
Version data entries
11 entries across 11 versions & 1 rubygems