rits / ace
为 Rits 项目提供的功能齐全的 Laravel 扩展包
dev-master
2018-09-10 16:34 UTC
Requires
- php: ^7.1
- laravel/framework: ^5.5
- laravelcollective/html: ^5.5
This package is auto-updated.
Last update: 2024-09-08 09:54:51 UTC
README
配置
#!/bin/bash # Require the package composer require rits/ace @dev # Publish inspinia assets php artisan vendor:publish --tag=ace-assets # Publish configuration file (optional) php artisan vendor:publish --tag=ace-config # Publish views (optional) php artisan vendor:publish --tag=ace-views # Publish translations (optional) php artisan vendor:publish --tag=ace-trans
此包不包含 inspinia 的编译样式和脚本。您必须从应用程序资源中要求 inspinia 资产。
在将 ace 的资产导入样式表中之前,您必须要求以下主要依赖项:
bootstrap@^3.3.7
font-awesome@^4.7.0
noty@^3.1.4
jquery-slimscroll@^1.3.8
metismenu@^2.7.2
如果您覆盖了 ace::partials.notifications
视图,则可以跳过 noty
依赖项,否则您应该安装它,以便可以查看通知。
导入这些依赖项之后,您可以将新创建的 resources/vendor/ace/scss/style.scss
文件导入到您的 CSS 中。