condoedge/utils
最新稳定版本:v0.2.116
Composer 安装命令:
composer require condoedge/utils
包简介
Utils helpers module to your kompo application
README 文档
README
Install and configuration steps
Use composer
composer require "condoedge/utils"
Migrate database
php artisan migrate
Add HasUserSettings trait
In your User model, add the HasUserSettings trait:
use CondoEdge\Utils\Traits\HasUserSettings; class User extends Authenticatable { use HasUserSettings; // Your user model code... }
Publish config file
php artisan vendor:publish --provider="CondoEdge\Utils\UtilsServiceProvider" --tag=kompo-utils-config
Publish icons
php artisan vendor:publish --provider="CondoEdge\Utils\UtilsServiceProvider" --tag=kompo-kompo-utils-icons
Publish scripts
php artisan vendor:publish --provider="CondoEdge\Utils\UtilsServiceProvider" --tag=kompo-utils-assets
Load styles
// In you main scss file @use "../../vendor/condoedge/utils/resources/sass/kompo-utils";
Install intro.js
npm install intro.js --save
Load scripts
// In your main js file import utils from '../../vendor/condoedge/utils/resources/js/utils'; window.utils = utils;
IntroJS Animations
More explanations soon. For now just a minor clarification to set the image tooltip for IntroJS animations.
$introjs-image-tooltip: url('../images/introjs/introjs-image-tooltip.png');
统计信息
- 总下载量: 2.71k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 14
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-10