surgems/inliner
最新稳定版本:1.0.0
Composer 安装命令:
composer require surgems/inliner
包简介
Statamic Addon that turns external assets into inline HTML.
README 文档
README
Inliner is a Statamic addon that turns external assets into inline HTML.
Features
This addon does:
- Inlines external JS/CSS files
- Minifies these files
How to Install
You can use this addon by running the following command from your project root:
composer require surgems/inliner
How to Use
To inline your external assets, just use the inliner tag allong with the path to your asset file:
{{ inliner src="css/app.css" }}
{{ inliner src="js/app.js" }}
To Minify these assets, just add the minify tag (the default is false):
{{ inliner src="css/app.css" minify="true" }}
统计信息
- 总下载量: 92
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-07-11