Sha256: 9a0c682e796a58e1f0b5d6568ada7a806ff1aab7ca089c74d5e1d41cbdc4e7f2

Contents?: true

Size: 668 Bytes

Versions: 1

Compression:

Stored size: 668 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 %>
  <%= render 'layouts/flash_messages' %>
</body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shopify_app-6.3.0 lib/generators/shopify_app/install/templates/embedded_app.html.erb