Thank you for the video! In case I want to inject a little piece of script code to the merchant's public theme (To the theme.liquid file), Do I also need do structure the app as a theme extension app?
Theme extensions are nice because they will be added to merchant's stores when they install your app. Merchants can then use the theme editor to place the extension widget in a theme. But if you're building a custom app, you also have the option to just manually add code right into the theme, it doesn't have to be a theme extension
The @gadget-client package is still being generated for your app, and is of the format @gadget-client/. You may need to register our private registry if the install is failing (docs.gadget.dev/api/example-app/development/external-api-calls/installing#node-module) If you're having issues installing feel free to hop in our Discord (ggt.link/discord) so our team can help with debugging
Thank you for the video!
In case I want to inject a little piece of script code to the merchant's public theme (To the theme.liquid file), Do I also need do structure the app as a theme extension app?
Theme extensions are nice because they will be added to merchant's stores when they install your app. Merchants can then use the theme editor to place the extension widget in a theme. But if you're building a custom app, you also have the option to just manually add code right into the theme, it doesn't have to be a theme extension
is @gadget-client still a package? i'm getting a "not found" error, also can't find it in the registry
The @gadget-client package is still being generated for your app, and is of the format @gadget-client/. You may need to register our private registry if the install is failing (docs.gadget.dev/api/example-app/development/external-api-calls/installing#node-module)
If you're having issues installing feel free to hop in our Discord (ggt.link/discord) so our team can help with debugging