关于我页面以参考 package.json 详细信息

About me page to reference package.json details

这是我第一个使用 react-admin 的应用程序,我想要一个名为 "About" 或 "Information" 的资源,它会显示引用我的 package.json 的详细信息,例如名称、版本、描述和作者。

{ "name": "my-app", "version": "1.0.0", "description": "This is my application.", "author": "John Doe", "dependencies":{ ... } }

不太确定如何解决这个问题,也没有在堆栈溢出或在线上找到任何类似的东西。会认为使用 "Show" 是可行的方法,除非有更好的方法。

希望得到一些提示,甚至 link 文档或类似问题。

Would think using "Show" is the way to go unless there is a better way.

事后发现上面的说法毫无意义

所以我在后端(使用 vertx3 和 javax.ws.rs-api)创建了响应 "GET" 命令的 JSON 命令,其中包含所有详细信息。这当然只能用列表来表示了。

目前我无法使此 prettier/better 页面看起来更像 "About" 页面。