locomotive plugins 这个gem用于为Locomotive CMS开发插件
机车插件这个gem用于为开发插件。可以在每个站点上单独启用或禁用插件。安装要创建Locomotive插件,请创建一个ruby gem,然后安装这个gem: gem install locomotive_plugins或者,如果您使用Bundler,请将以下行添加到您的Gemfile: gem 'locomotive_plugins'并运行bundle install 。要在LocomotiveCMS中安装插件,只需,确保您已安装所有,然后将您的插件gem添加到locomotive_plugins组中应用程序的Gemfile中: group(:locomotive_plugins) do gem 'my_plugin' gem 'another_plugin' end用法要创建插件,请创建一个包含Locomotive:
下载地址
用户评论