spacedealer / yii2-backbone
Backbone.js Asset bundle for yii2
Installs: 9 634
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 2
Open Issues: 0
Type:yii2-extension
Requires
- bower-asset/backbone: 1.1.*
- yiisoft/yii2: *
Requires (Dev)
- phpunit/phpunit: 4.3.*
This package is auto-updated.
Last update: 2024-10-28 23:31:18 UTC
README
This extensions provides support for backbone.js and underscore.js asset handling for Yii2.
Requirements
Installation
The preferred way to install this extension is through composer.
First run this to allow managing bower package dependencies through composer. Skip this step if already done when installing yii2:
composer global require "fxp/composer-asset-plugin:1.0.0-beta4"
Then either run
php composer.phar require --prefer-dist spacedealer/yii2-backbone "*"
or add
"spacedealer/yii2-backbone": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply add to your application logic as follows:
// tbd