Last active
August 23, 2019 20:45
-
-
Save hannachen/7e25f6093c9f9e9b9b6aca46b5a0fea4 to your computer and use it in GitHub Desktop.
App Bridge Initialize - ES Modules
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
import createApp from '@shopify/app-bridge' | |
const app = createApp({ | |
apiKey: 'app_api_key', | |
shopOrigin: 'example.myshopify.com', | |
forceRedirect: true, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment