承接 surgems/inliner 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-07-11