具体不替换 Debut 主题文件?
Concrete not replacing Debut theme files?
在 shopify 中创建新商店后,我通过克隆存储库 https://github.com/Elkfox/Concrete.git 并执行 npm install 使用 slate 安装了 concrete。然后,我在根目录中创建了 config.yml 文件并输入了相应的信息,然后 运行 slate watch。在文件中所做的更改正在应用到商店。但是,在 shopify 编辑器中,Debut 主题的文件仍然存在。
尝试 slate deploy
。该命令旨在启动 "a fresh build followed by a full deploy; replacing existing files on the remote server and replacing them with the full set of build files, and removing remote files that are no longer in use".
slate 中有很多额外的命令和选项可用。在 https://shopify.github.io/slate/commands/
查看文档
在 shopify 中创建新商店后,我通过克隆存储库 https://github.com/Elkfox/Concrete.git 并执行 npm install 使用 slate 安装了 concrete。然后,我在根目录中创建了 config.yml 文件并输入了相应的信息,然后 运行 slate watch。在文件中所做的更改正在应用到商店。但是,在 shopify 编辑器中,Debut 主题的文件仍然存在。
尝试 slate deploy
。该命令旨在启动 "a fresh build followed by a full deploy; replacing existing files on the remote server and replacing them with the full set of build files, and removing remote files that are no longer in use".
slate 中有很多额外的命令和选项可用。在 https://shopify.github.io/slate/commands/
查看文档