@shopify/admin-ui-extensions-run
Advanced tools
CLI commands to help with developing with Admin UI extensions
Weekly downloads
Readme
The Admin UI Extensions Run allows you to build and preview Admin UI Extensions. This tool is intended to help partners test Admin UI Extensions before publishing to Shopify.
It comes packaged with Shopify CLI, so when you create an extension using Shopify CLI's shopify create extension
command, your project will automatically consume this package.
Start using this tool in one of two ways:
admin-ui-extensions-template
repo, which consumes this package to build and serve Admin UI Extensions it generatesadmin-ui-extensions-template
When consumed in a project, the command admin-ui-extensions-run
becomes available to the project. The command can be used to build and serve Admin UI Extensions.
To use this package in an UI Extension project, run:
npm install @shopify/admin-ui-extensions-run
or
yarn add @shopify/admin-ui-extensions-run
See usage details in the API docs.
To make and preview changes from ./src
, run a local server from this project using:
yarn server