A space to discuss online store customization, theme development, and Liquid templating.
We currently have a Shopify App and we're trying to implement Theme App Extension.
I've updated my Shopify CLI version via Homebrew and it is currently on 3.46.3. I tried `shopify extension create type="THEME_APP_EXTENSION"` and `shopify app generate extension` but both didn't work.
Here's a sample screenshot:
Can anyone point me in the right direction on what I need to do?
Solved! Go to the solution
This is an accepted solution.
I figured out the problem. I needed to update my package.json and add the scripts and dependencies in here:
https://shopify.dev/docs/apps/tools/cli/migrate#step-3-add-shopify-cli-as-a-project-dependency
Hi there Ericute - can you try running `npm run shopify app generate extension` to create the extension - this should prompt you to be able to select Theme app extension
as the extension type. More details in this help doc: https://shopify.dev/docs/apps/online-store/theme-app-extensions/getting-started
Hope this helps!
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
I figured out the problem. I needed to update my package.json and add the scripts and dependencies in here:
https://shopify.dev/docs/apps/tools/cli/migrate#step-3-add-shopify-cli-as-a-project-dependency