uomocon/materialize
Composer 安装命令:
composer require uomocon/materialize
包简介
Materialize CSS extension for the Yii framework
README 文档
README
This package integrates the Materialize CSS framework into Yii2. Materialize is a modern responsive front-end framework based on Material Design.
See official documentation for detailed information.
Installation
The preferred way to install this extension is through composer.
Either run
$ composer require uomocon/materialize "*"
or add
"uomocon/materialize": "*"
to the require section of your composer.json file.
Usage
To load the Materialize CSS files integrate the MaterializeAsset into your app. Two ways to achieve this is to register the asset in the main layout:
// @app/views/layouts/main.php \uomocon\materialize\assets\MaterializeAsset::register($this); // further code
or as a dependency in your app wide AppAsset.php
// @app/assets/AppAsset.php public $depends = [ 'uomocon\materialize\assets\MaterializeAsset', // more dependencies ];
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2020-12-20