johnnymcweed / luya-module-company
dev-master
2018-04-25 16:53 UTC
Requires
- johnnymcweed/luya-module-person: dev-master
- johnnymcweed/luya-module-place: dev-master
- luyadev/luya-core: ~1.0.0
This package is not auto-updated.
Last update: 2024-09-29 05:27:47 UTC
README
安装
composer require johnnymcweed/luya-module-company:dev-master
配置
return [ 'modules' => [ // ... 'company' => 'johnnymcweed\company\frontend\Module', 'companyadmin' => 'johnnymcweed\company\admin\Module', // ... ], ];
初始化
在成功安装和配置后,运行迁移、导入和设置命令以初始化您项目中的模块。
1.) 迁移您的数据库。
./vendor/bin/luya migrate
2.) 将模块和迁移导入您的 LUYA 项目。
./vendor/bin/luya import
示例视图
已设置默认视图。可以使用这些视图或创建自己的自定义视图。