Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 933 Bytes

File metadata and controls

43 lines (30 loc) · 933 Bytes

This package contains a Shopify CLI plugin that enables the creation of ngrok tunnels from shopify app dev, allowing previews from any device.

Requirements

  • Shopify CLI
  • ngrok account

Installation

Right now, it's installed by default with the Shopify CLI. But it could be manually installed with:

shopify plugins install ngrok

Usage

When you serve your app, it will automatically create an ngrok tunnel and update your app configuration in the Partners dashboard to point to the new URL:

shopify app dev

If you don't have an ngrok account configured, the first time it will ask for the token. You can get it from the ngrok dashboard. Also, you can use this command to manually update it:

shopify tunnel auth <TOKEN>

Run tests

pnpm test

or

npm test