Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以使用插件中的布局文件来呈现模板?如果我使用插件标签,则从插件中搜索模板。例如:
render (template: "templateFromProject", layout: "layoutFromPlugin")
根据文档,您应该使用一个插件属性。
render (template: "templateFromProject", layout: "layoutFromPlugin", plugin: 'thePlugin')