1. Getting Started
Create a theme
- Run
npx @display-studio/vite-plugin-shopify-theme init my-theme. - Review the wizard summary. TypeScript, npm (or a detected manager), and Tailwind are selected by default.
- Run
cd my-theme && cp example.shopify.theme.toml shopify.theme.toml, then set your store domain inshopify.theme.toml. - Run
npm run dev.
When the target does not exist, setup clones Shopify's Skeleton v1.0.0 release without its git history.
Configure an existing theme
- Enter a theme root containing
assets,layout, andsnippets. - Run
npx @display-studio/vite-plugin-shopify-theme init. - Run the generated
devscript.
Setup refuses incompatible manual files and never converts an invalid directory. If the layout cannot be patched unambiguously, it is preserved and exact instructions are printed.
See the setup checklist to verify each step, and Working with AI agents for agent instructions.