buonzz/laravel-jquery
Composer 安装命令:
composer require buonzz/laravel-jquery
包简介
jQuery Assets and Blade Extensions for Laravel
README 文档
README
This package makes the jQuery Assets and Blade Extensions available for use in your blade templates.
Installation
Edit your composer.json file, add this in the require property:
"buonzz/laravel-jquery": "1.*"
fetch the package by:
composer update
Add the service provider in your config/app.php file
'Buonzz\LaravelJquery\LaravelJqueryServiceProvider'
Publish the assets
php artisan asset:publish
Usage
Use this Blade template tag to insert the js tag inside the head/body tag
{{@jquery_js_tag}}
Your template should now have jQuery loaded
统计信息
- 总下载量: 373
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-23