Masonry 作为 Contao 组件的 shim 仓库。
4.2.2
2018-10-25 06:22 UTC
Requires
This package is not auto-updated.
Last update: 2024-09-15 04:55:28 UTC
README
作为 Masonry 的 shim 仓库,用于 Contao 组件。
安装
composer require heimrichhannot-contao-components/masonry
配置
将以下内容添加到您的配置中(保持键以防止双重集成)
Contao 4
$GLOBALS['TL_JAVASCRIPT']['huh_components_masonry'] = 'assets/masonry/dist/masonry.pkgd.min.js|static';
Contao 3
$GLOBALS['TL_JAVASCRIPT']['huh_components_masonry'] = 'assets/components/masonry/dist/masonry.pkgd.min.js|static';
内部
更新库
svn export https://github.com/desandro/masonry.git/trunk/dist