localgovdrupal/localgov_assets
Composer 安装命令:
composer require localgovdrupal/localgov_assets
包简介
Javascript assets for Localgov Drupal
README 文档
README
This library provides a wrapper around various javascript libraries required by certian modules of the Localgov profile. It should be required by default when installing Localgov Drupal and will pull down necessary libraries to the docroot libraries directory.
Current asset libraries
- enyo/dropzone (6.0.0-beta2) To support Dropzone and Simple bulk media upload.
Overriding these assets
If you wish to download these libraries another way, or replace them with different versions, you can replace this library or individual libraries. Within your sites root composer.json file use:
"replace": { "localgovdrupal/localgov_assets" : "*" }
or for an individual library:
"replace": { "enyo/dropzone" : "*" }
Then require the libraries you need in your preffered way.
Eg. To upgrade dropzone to a fork you could use
"repositories": { "dropzone": { "type": "package", "package": { "name": "nicolascarpi/dropzone", "version": "7.2.0", "type": "drupal-library", "dist": { "url": "https://github.com/NicolasCARPi/dropzone/archive/refs/tags/7.2.0.zip", "type": "zip" } } } }, "require": { "nicolascarpi/dropzone": "^7.2.0" }
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-02-05