承接 josh-taylor/sage-svg 相关项目开发

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

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

josh-taylor/sage-svg

Composer 安装命令:

composer require josh-taylor/sage-svg

包简介

WordPress package to enable a blade directive to use SVG images inline with Sage 9

关键字:

README 文档

README

Easily use SVG images in your Sage 9 Blade templates.

This repository is a wrapper for Adam Wathan's Blade SVG for Laravel, so a lot of the concepts from that repository are the same.

Installation

You can install this package via Composer by running this command in the root of your Sage 9 installation.

composer require josh-taylor/sage-svg

Getting Started

The package will automatically register a blade directive to inline your SVGs.

Place all your SVGs inside resources/assets/icons in your Sage 9 installation and you are good to go. Recommend to run all your SVGs through SVGO first!

<a href="/settings">
    @svg('cog', 'icon-lg') Settings
</a>

<!-- Renders -->
<a href="/settings">
    <svg class="icon icon-lg" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
        <!-- ... -->
    </svg>
</a>

For more advanced usage you can check out Adam's repository.

The only thing this libary does not support at the moment is non-inline SVG. But this is better anyway right?

Credits

Most of the work of this repository is down to Adam Wathan. This is just a wrapper to get it work with Sage 9 blade templates.

统计信息

  • 总下载量: 46.35k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 18
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 18
  • Watchers: 1
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-06-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固