In this article, we’ll cover how to make updates to your block in a staging environment.
First, confirm that your block is in a staging environment by clicking "Edit” in your block and viewing the left side panel. The presence of a "Staged Block” message means that the block will not appear live on your storefront, but you can still preview it through the preview URL.
`npn run build`
. Everything should pass since they are being run alongside your changes. `element publish`
to put the brand new block out there, run `element update`
. This will update the block for staging.