zyblog / yii2-bjui
yii2集成B-JUI后台模板
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Language:JavaScript
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-12-27 18:04:08 UTC
README
#Yii2 B-JUI富文本后台框架
=======================================
##安装说明
composer安装:
php composer.phar require zyblog/yii2-bjui "*"
手动安装:
githup下载后,在vendor目录下创建zyblog目录,代码放进去,去yiisoft\extensions.php下方增加:
'zyblog/bjui' => array (
'name' => 'zyblog/bjui',
'version' => '1.0',
'alias' =>
array (
'@zyblog/bjui' => $vendorDir . '/zyblog/yii2-bjui',
),
),
##使用
配置文件中:
'view' => [ 'theme' => [ 'pathMap' => [ '@app/views' => '@vendor/zyblog/yii2-bjui/example-views' ], ], ],
或者直接把example-views里的内容拷贝到项目中替换原文件
##集成:
B-JUI框架1.31
使用问题及各种插件请查阅官方文档及相关DEMO
#kindeditor上传文件
可参考kindeditor相关示例自己写
上传配置在textarea中添加:
<textarea data-options="{uploadJson:'上传路径'}" >