Open fabianwohlfart opened 5 years ago
Chris from our team wrote a really useful articles on how we work with Themes at Shopify here : https://www.shopify.ca/partners/blog/development-workflow
The Working with theme IDs
and Configuring one or multiple environments
parts should be useful for your case
Oh okay, great thanks! So I would get one production theme and one dev theme (for example): work live on the dev theme and deploy to the production theme?
Here is our typical workflow...
thanks. now everything is clear. i chose to have two themes on the shop, one production and one as a duplicate for development.
i was wondering why
npm run start --env=development
is not working, but
yarn start --evn=development
does?
i think it's not a big problem, but a bit confusing, because the documentation states that you can use either npm or yarn.
@fabianwohlfart It would depend which tool you used to install it, if that's what you mean? If you installed Slate with Yarn, then you'll have to use Yarn because npm doesn't have access to the program.
Problem
working with slate breaks the live site. I know there is another closed thread #736 But I need to reconfirm or get some tipps: How do you deal with this if a website is already live with customers and you want to change things, the site always brakes for visitors? — or you are not even live yet, but the clients uploads products and wants to see them on the frontend while you work on it? — a feature?
Replication steps
npm run slate