https://github.com/derekisbusy/yii2-wow
Wow.js assets for Yii2 projects
https://github.com/derekisbusy/yii2-wow
Last synced: 2 months ago
JSON representation
Wow.js assets for Yii2 projects
- Host: GitHub
- URL: https://github.com/derekisbusy/yii2-wow
- Owner: derekisbusy
- Created: 2019-06-23T20:31:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-23T21:25:53.000Z (almost 6 years ago)
- Last Synced: 2025-01-20T09:46:21.139Z (4 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Yii2 Wow
==============
Wow assets for Yii2 projectsInstallation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
php composer require --prefer-dist derekisbusy/yii2-wow:dev-master
```or add
```
"derekisbusy/yii2-wow": "dev-master"
```to the require section of your `composer.json` file.
Usage
-----Once the extension is installed, simply use it by adding it to your view :
```php
use \derekisbusy\wow\WowAsset;WowAsset::register($this);
```or by adding it to another assets dependencies list :
```php
public $depends = [
'derekisbusy\wow\WowAsset'
];
```Then use wow in your view :
```html
Content to Reveal Here
```Documentation
-------------* [Wow docs](https://www.delac.io/wow/docs)
* [Yii2 assets](https://www.yiiframework.com/doc/guide/2.0/en/structure-assets)