如何在TYPO3中的后端模块中添加外部JavaScript和CSS

KOC*_*EUN 5 typo3 fluid

我正在使用TYPO3 CMS.我想将外部JavaScript和CSS添加到后端模块中,但我实际上不确定如何添加这些.你能指导我如何实现吗?

jok*_*mer 7

通过FLUID模板fx:Layout/Default.html

<f:be.container
  includeCssFiles="{0: '{f:uri.resource(path:\'Css/Styles.css\')}'}"
  includeJsFiles="{0: '{f:uri.resource(path:\'JavaScript/Library1.js\')}', 1: '{f:uri.resource(path:\'JavaScript/Library2.js\')}'}">
your module content
</f:be.container>
Run Code Online (Sandbox Code Playgroud)