Last active
August 23, 2019 20:48
-
-
Save hannachen/7ec3d1acc4d3428b2e11ddc642c21fbe to your computer and use it in GitHub Desktop.
App Bridge Initialize - ES5/CDN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://unpkg.com/@shopify/app-bridge"></script> | |
<script> | |
var AppBridge = window['app-bridge']; | |
var createApp = AppBridge.default; | |
var app = createApp({ | |
apiKey: 'API key from Shopify Partner Dashboard', | |
shopOrigin: shopOrigin, | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment