Created
July 31, 2015 06:12
-
-
Save jepster/9c487d3b315a4c21561b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// that class is usually used, if you work with html in your view. | |
use yii\helpers\Html; | |
// here comes your Yii2 asset's class! | |
use app\modules\YOUR-MODULE\assets\YOUR-ASSER-CLASS; | |
// now Yii puts your css and javascript files into your view's html. | |
MyModuleAsset::register($this); | |
?> | |
<p> | |
Some <strong>HTML</strong> my <i>friend..</i> :) | |
</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment