craft sprig
3.5.1
Sprig是用于工艺CMS的免费插件,可让您从树枝模板和/或PHP类创建反应性组件。 These components can re-render themselves on user-triggered events (clicks, changes to input fields, form submissions, etc.) using AJAX requests, without requiring you to write a single line of JavaScript.
Sprig启用常见用例,例如以下内容,同时完全避免了全页刷新:
了解更多信息,并在putyourlightson.com/plugins/sprig上阅读文档»
要查看工作示例和视频教程,请访问学习资源。
此插件可根据MIT许可免费获得许可。
该插件需要CRAFT CMS 3.1.19或更高版本,或4.0.0或更高版本,或更高版本或更高版本。
要安装插件,请在工艺插件商店中搜索“小树枝”,或使用作曲家手动安装。
composer require putyourlightson/craft-sprig由Putyourlightson创建。