定制 mdixon18/fontawesome 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

mdixon18/fontawesome

最新稳定版本:v0.2.1

Composer 安装命令:

composer require mdixon18/fontawesome

包简介

A FontAwesome Nova field.

README 文档

README

A Laravel Nova FontAwesome Icon field

Installation:

You can install the package in to a Laravel app that uses Nova via composer:

composer require mdixon18/fontawesome

Usage:

Add the below to app/Nova resources.

  use Mdixon18\Fontawesome\Fontawesome;

  Fontawesome::make('Icon')

You can override the text for the field button like so

  Fontawesome::make('Icon')->addButtonText('Click Me!')

You can set a default icon for when an icon has not been set like so. First parameter is the type e.g. far, fas, fab and the second is the icon name (without fa-)

  Fontawesome::make('Icon')->defaultIcon('far', 'check-circle')

If you want to persist the default icon (when they press clear it brings back the default so it can't be empty) then add the following:

  Fontawesome::make('Icon')->addButtonText('Click Me!')->defaultIcon('far', 'check-circle')->persistDefaultIcon()

You can limit the icons the user can choose from like so

  Fontawesome::make('Icon')->only([
    'facebook',
    'twitch',
    'twitter',
  ])

You can use FontAwesome Pro by doing the following (remember to get your license key!)

  Fontawesome::make('Icon')->pro()

Support:

mdixon14717@gmail.com

License:

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 16
  • Watchers: 3
  • Forks: 10
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固