yeesoft / yee-theme
基于 Bootstrap 3 的 Yee CMS 控制面板主题
0.1.0
2017-03-25 21:06 UTC
Requires
- twbs/bootstrap: ~3.3.0
This package is auto-updated.
Last update: 2022-03-29 00:18:48 UTC
README
Yee CMS 主题
安装
- 运行以下命令之一:
composer require --prefer-dist yeesoft/yee-theme "0.1.0"
或者
"yeesoft/yee-theme": "0.1.0"
将以下内容添加到您的 composer.json
文件的 require 部分中。
配置
- 在您的配置文件中
'components' => [ 'assetManager' => [ 'bundles' => [ 'yii\bootstrap\BootstrapAsset' => [ 'sourcePath' => '@yeesoft/yee-theme/dist', 'css' => ['css/theme.min.css'] ], 'yii\bootstrap\BootstrapPluginAsset' => [ 'sourcePath' => '@yeesoft/yee-theme/dist', 'js' => ['js/bootstrap.min.js',] ], ], ], ]
创建自己的主题
-
创建
yeesoft/yee-theme
的副本。 -
运行
composer install
npm install
安装所有依赖。
- 更新 js、less 或其他文件。运行
grunt run
构建和压缩所有源文件。