Backbone Assets for Yii2 This extensions provides support for backbone.js and underscore.js asset handling for Yii2.
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 philippfrenzel/yii2-backbone "*"
to the require section of your
Once the extension is installed, simply add to your application logic as follows:
No stable releases.