Sha256: 0321a33f7bed52b1f49d122145c9146234a6dcbf302bbde00c8948d90836410a

Contents?: true

Size: 627 Bytes

Versions: 3

Compression:

Stored size: 627 Bytes

Contents

<!DOCTYPE html>
<html lang="en">
<head>
  <title>Shopify Embedded Example App</title>

  <script src="//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' %>
    });
  </script>

  <%= stylesheet_link_tag 'application' %>
  <%= javascript_include_tag 'application' %>
  <%= csrf_meta_tags %>
</head>

<body>
  <%= yield %>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
shopify_app-6.2.1 lib/generators/shopify_app/install/templates/embedded_app.html.erb
shopify_app-6.2.0 lib/generators/shopify_app/install/templates/embedded_app.html.erb
shopify_app-6.1.3 lib/generators/shopify_app/install/templates/embedded_app.html.erb