shopify本地开发教程

2019-07-30  本文已影响0人  飞过的沙
说明 命令
创建新的主题 theme new --password=your-password --store=your-store.myshopify.com --name=theme name
获取shopify平台所有的分支 theme get --list -p=your-password -s=you-store.myshopify.com
获取某一分支的代码 theme get -p=your-password -s=you-store.myshopify.com -t=your-theme-id
更新远程分支的代码,替换shopify上的内容 theme deploy
获取整体 theme download
获取某个文件 theme download templates/404.liquid templates/article.liquid
删除某个文件 theme remove templates/404.liquid templates/article.liquid
预览代码 theme open --env=development
监听代码并上传到shiopify theme watch --notify=/tmp/theme.update
说明 来源
your-password 获取秘钥时生成的password
your-store 店铺名称
theme name 主题名称(自己定义)
上一篇 下一篇

猜你喜欢

热点阅读