etailerrs / bs4grayscale
为 Yii 框架准备的 Bootstrap 4 模板
1.0.0
2019-12-02 21:50 UTC
Requires
- yiisoft/yii2: ~2.0.6
- dev-master
- 1.0.0
- dev-dependabot/npm_and_yarn/src/bs_temp/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/src/bs_temp/engine.io-and-browser-sync-6.2.1
- dev-dependabot/npm_and_yarn/src/bs_temp/socket.io-parser-and-browser-sync-4.2.1
- dev-dependabot/npm_and_yarn/src/bs_temp/copy-props-2.0.5
- dev-dependabot/npm_and_yarn/src/bs_temp/ajv-6.12.6
- dev-dependabot/npm_and_yarn/src/bs_temp/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/src/bs_temp/postcss-7.0.36
- dev-dependabot/npm_and_yarn/src/bs_temp/browserslist-4.16.6
- dev-dependabot/npm_and_yarn/src/bs_temp/hosted-git-info-2.8.9
- dev-dependabot/npm_and_yarn/src/bs_temp/lodash-4.17.21
- dev-dependabot/npm_and_yarn/src/bs_temp/y18n-3.2.2
- dev-dependabot/npm_and_yarn/src/bs_temp/ini-1.3.8
- dev-dependabot/npm_and_yarn/src/bs_temp/node-sass-4.14.1
- dev-dependabot/npm_and_yarn/src/bs_temp/jquery-3.5.0
This package is auto-updated.
Last update: 2024-09-05 02:48:58 UTC
README
Yii 2 Bootstrap 4 模板是一个骨架 设计,非常适合快速创建小型项目。
目录结构
src/ contains module code, Assets and Module class
src/bs_temp/ contains bs4 template code downloaded and unziped
src/controllers/ contains Module controller classes
src/views/ contains Demo view files for the Web application
安装
通过 Composer 安装
如果您没有 Composer,您可以按照 getcomposer.org 上的说明进行安装。
然后,您可以使用以下命令安装此模块
composer require etailerrs/bs4grayscale
现在,您应该可以通过以下 URL 访问应用程序,假设 basic
是 Web 根目录下的直接目录。
配置 Yii2
在您的 config/ 目录中,在 web.php 中添加新模块
...
# After gii configuration
$config['bootstrap'][] = 'bs4grayscale';
$config['modules']['bs4grayscale'] = [
'class' => 'etailerrs\bs4grayscale\Module',
];
测试 BS4 Grayscale
https://?r=bs4grayscale
or
https:///bs4grayscale