如何在KeystoneJS Admin UI中添加自定义插件? [英] How to add Custom plugins into KeystoneJS Admin UI ?

查看:100
本文介绍了如何在KeystoneJS Admin UI中添加自定义插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方法可以在KeystoneJs Admin UI中添加自定义插件,而又不会过多地干扰源代码.

Is there a way to add custom plugins to KeystoneJs Admin UI without messing around with the source code too much.

推荐答案

许多人都想要这种功能-有很多开放的在github上发布:

many people want this kind of functionality — there are a bunch of open issues on github:

  • #2088 – 0.4:如何为KeystoneJS v0.4创建新的字段类型?
  • #1898 –插件体系结构
  • #1386 – FieldType插件"
  • #1137 –无法找到在管理界面中添加自定义按钮或链接的方法
  • #2088 – 0.4: How do I create new Field Types for KeystoneJS v0.4?
  • #1898 – Plugin Architecture
  • #1386 – FieldType "plugins"
  • #1137 – Cannot find ways to add a custom button or links in Admin UI

0.3中,如果不修改keystone源代码,这是不可能的,尽管 keystone-custom-字段类型似乎可以解决此问题.

this is not possible in 0.3 without modifying the keystone source code, although keystone-custom-fieldtypes seems to work around this.

我相信它是针对尚未准备好的0.4计划的.

I believe it is planned for 0.4, which is not ready yet.

这篇关于如何在KeystoneJS Admin UI中添加自定义插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆