text Shopify开发环境

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text Shopify开发环境相关的知识,希望对你有一定的参考价值。

// config.yml 

:api_key: 8a91f325de49da9b8bbfe31f64c0ee16
:ignore_files:
- todo
- config/settings_data.json
development:
  password: 9a91f325de49da9b8bbfe31f64c0ee15
  theme_id: "1542069208"
  store: your-shopify-store.myshopify.com
production:
  password: 9a91f325de49da9b8bbfe31f64c0ee15
  theme_id: "4516029802"
  store: your-shopify-store.myshopify.com
  timeout: 60s
  
// Development Workflow

When you want to do work on your development store: 
1. Go to Shopify Admin > Themes, click ‘Preview’ on your development theme. 
2. Run theme watch --env=development. 
3. Make changes, watch them update live on your development theme.

When you’re ready to upload these changes to the production store: 
1. Go to Shopify Admin > Themes, click ‘Preview’ on your Live theme. 
2. Run theme upload --env=production. 
3. Your entire local directory will upload to Shopify, overriding your live theme’s code.

以上是关于text Shopify开发环境的主要内容,如果未能解决你的问题,请参考以下文章

text Shopify自定义应用

text Shopify应用程序

text Shopify - 显示购物车页面上的总节省量

Shopify 应用程序开发教程 [关闭]

如何开发一个改变产品页面的shopify应用程序?

Medusa 又一个 Shopify 的开源替代品!