Sha256: 0f728a509d3cecb828cf1524ba458380a75de87f13fae90e862ff348e67f18cf

Contents?: true

Size: 564 Bytes

Versions: 10

Compression:

Stored size: 564 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 %>'
    });
  </script>

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
shopify_app-6.1.2 lib/generators/shopify_app/install/templates/embedded_app.html.erb
shopify_app-6.1.1 lib/generators/shopify_app/install/templates/embedded_app.html.erb
shopify_app-6.1.0 lib/generators/shopify_app/install/templates/embedded_app.html.erb
shopify_app-6.0.6 lib/generators/shopify_app/install/templates/embedded_app.html.erb
shopify_app-6.0.5 lib/generators/shopify_app/install/templates/embedded_app.html.erb
shopify_app-6.0.4 lib/generators/shopify_app/install/templates/embedded_app.html.erb
shopify_app-6.0.3 lib/generators/shopify_app/install/templates/embedded_app.html.erb
shopify_app-6.0.2 lib/generators/shopify_app/install/templates/embedded_app.html.erb
shopify_app-6.0.1 lib/generators/shopify_app/install/templates/embedded_app.html.erb
shopify_app-6.0.0 lib/generators/shopify_app/install/templates/embedded_app.html.erb