philippfrenzel/yii2-backbone

Backbone.js Asset bundle for yii2

Installs: 572

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2015-11-11 18:59 UTC

This package is not auto-updated.

Last update: 2024-05-11 16:09:19 UTC


README

Backbone Assets for Yii2 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 philippfrenzel/yii2-backbone "*"

or add

"philippfrenzel/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

Resources