这是我对此的解决方案(我将使用React-Bootstrap Panel组件): 1)在您的html中包含react-bootstrap.min.js。 2)以下是Panel组件的示例用法: (def PanelComp (. js/ReactBootstrap -Panel)) (defn page [] [:div [:div [PanelComp {:header "Panel heading without title"} "Panel content"]]])
adapt-react-class
的方法。这里有一个使用示例链接。 - ducky