I’m working on a website locally with Shopify CLI.
Now I need to create a new page. I have created a template, and a new page, that is currently hidden, because I don’t want users to see the unfinished page.
Is there a way for me to locally develop the new page/template, and see changes in real time? Or do I have to push my changes to the theme everytime, and use the preview URL to see the changes?
Late response for future visitors
The only way it worked for me:
1- Create a template page with the same name, in the live theme and the test theme.
2- Create the page using admin/pages
3- Connect the page with the template
This way in the test theme you can make the changes as well as see them in localhost and the live theme the page appears empty.
Yes, you can use Shopify’s Theme Kit to develop locally and see changes in real time without pushing them to the live theme. This allows you to work on your new page/template locally and preview the changes instantly.