devlop/fontawesome-blade 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

devlop/fontawesome-blade

Composer 安装命令:

composer require devlop/fontawesome-blade

包简介

Laravel Blade Components for Font Awesome

README 文档

README

Latest Stable Version License

Font Awesome Blade

A collection of Laravel Blade Components to make it dead simple to use the Font Awesome icons in Laravel.

Prerequisites

This package assumes that you are using Font Awesome via a package manager.

Installation

composer require devlop/fontawesome-blade

Configuration

By default this package will assume you are using the @fortawesome/fontawesome-free.

If you are using any other version, publish the configuration and change the path accordingly.

php artisan vendor:publish --provider="Devlop\FontAwesome\FontAwesomeBladeServiceProvider"

Usage

Each of Font Awesome's different styles are available as separate components, they all accept the same name argument for specifying which icon to display.

<x-fa::brands name="fa-laravel" />

<x-fa::solid name="fa-0" />

<x-fa::regular name="fa-2" />

<x-fa::light name="fa-5" />

<x-fa::thin name="fa-0" />

<x-fa::duotone name="fa-elephant" />

You also need to import the Font Awesome CSS into your CSS build to get the icons to display like they would if you were using the Font Awesome JS method.

@import '@fortawesome/fontawesome-pro/css/svg-with-js.css';

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固