我可以在 Shopify 主题开发中删除特定应用程序引用(取消发布主题)吗?
我正在尝试在我的 Shopify 主题中创建一项功能,该功能当前使用第 3 方应用程序集成。现在我正在使用液体代码和 javascript 代码实现相同的功能,但现在我想在没有应用程序的情况下进行测试,一旦在开发中进行了所有测试,如果一切正常,那么我想在实时应用程序上推送或部署。
因此,我只想删除开发主题中的第 3 方应用程序引用。该应用程序将使用脚本标签添加js。
我正在使用 Shopify CLI 开发主题功能。我还从控制台窗口阻止了该应用程序的 JS,但我需要在取消发布主题上永久阻止它,以便我可以将预览链接发送给每个人,以便在不同的计算机和不同的浏览器中测试相同的内容。
I am trying to make one feature in my Shopify theme that is currently integrated using 3rd party app. now I am achieving the same functionality using liquid code and javascript code but now I want to test without the app and once all tested on the development and if all working well then an then I want to push or deploy on a live one.
so for that, I want to remove that 3rd party app reference in the development theme only. the app will add js using a script tag.
I am using Shopify CLI to develop the theme feature. also I have blocked the JS of that app from the console window but I need to block it permanently on an unpublish theme so I can send the preview link to everyone to test the same things on a different machine and in a different browser.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论