shopify开发记录

教学视频
https://www.bilibili.com/video/BV16g411D7qR/?spm_id_from=333.337.search-card.all.click&vd_source=531da8612c15315b16022431dd290dbd

choco安装
https://chocolatey.org/install

以管理员的身份运行PowerShell执行以下脚本

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString(‘https://community.chocolatey.org/install.ps1’))

安装开发工具
choco install themekit

shopify里添加一个theme,下载下来当作基础代码

vscode安装这个插件Liquid Languages Support

安装应用 Theme Access

创建密码,密码会以邮件的形式发送

创建配置文件
theme configure -s 商店地址 -t 模板id -p 密码
theme configure -s 793bb7.myshopify.com -t 160482033947 -p shptka_ae36eb6eff8dd2c11df6553e6d48526c

线上开发
theme watch --allow-live

开发文档
https://shopify.dev/docs/api/liquid

你可能感兴趣的:(javascript)