burdapraha/oc_version_number
Composer 安装命令:
composer require burdapraha/oc_version_number
包简介
Helper function which fixing visitors browser cache issue after your changes at CSS or javascript
README 文档
README
Helper function which fixing visitors browser cache issue after your changes at CSS or javascript
Preview
You can also use this function for your custom files (CSS / JS, images, ...) like this:
<link href="<?php echo versionNumber($style['href']); ?>" type="text/css" rel="<?php echo $style['rel']; ?>
Installation
- Requiring installed vQmod because vQmod doesn't support installing via composer itself.
- 💲
composer require burdapraha/oc_version_number dev-master - 💲
composer require sasedev/composer-plugin-filecopierfor files manipulating - Add this code to your 🎵 composer.json project file, extra section:
"extra": {
"filescopier": [
{
"source": "vendor/burdapraha/oc_version_number/upload",
"destination": "upload",
"debug": "true"
}
]
}
It will move vQmod xml file to correct folder.
- optionally you can add row to your
.gitignorefile with path to svg.xml (example: upload/vqmod/xml/oc_version_number.xml) - celebrate! 🎉 🎉 🎉
统计信息
- 总下载量: 1k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-08-01
