承接 outhebox/blade-feather-icons 相关项目开发

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

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

outhebox/blade-feather-icons

Composer 安装命令:

composer require outhebox/blade-feather-icons

包简介

A package to easily make use of Feather Icons in your Laravel Blade views.

README 文档

README

Latest Stable Version Total Downloads

A package to easily make use of Feather Icons in your Laravel Blade views.

For a full list of available icons see the SVG directory or preview them at feathericons.com.

Requirements

  • PHP 7.2 or higher
  • Laravel 7.14 or higher

Installation

composer require outhebox/blade-feather-icons

Usage

Icons can be used a self-closing Blade components which will be compiled to SVG icons:

<x-feather-alert-triangle/>

You can also pass classes to your icon components:

<x-feather-alert-triangle class="text-primary"/>

And even use inline styles:

<x-feather-alert-triangle style="color: #555"/>

Raw SVG Icons

If you want to use the raw SVG icons as assets, you can publish them using:

php artisan vendor:publish --tag=blade-feather-icons --force

Then use them in your views like:

<img src="{{ asset('vendor/blade-feather-icons/alert-triangle.svg') }}" width="25" height="25"/>

Update your Feather icons to the latest version

Install the feather icons npm library

npm install feather-icons --save

Then copy this line to your webpack.mix file

mix.copy('node_modules/feather-icons/dist/icons', 'public/vendor/feather-icons');

Blade Icons

Blade Feather Icons uses Blade Icons under the hood. Please refer to the Blade Icons readme for additional functionality.

Credits

License

Blade Feather Icons is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-08-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固