为onestartup网站提供landings包
0.0.1
2018-07-30 20:23 UTC
This package is not auto-updated.
Last update: 2024-09-23 13:47:19 UTC
README
onestartup/landings 是一个用于网站的模块
安装
- 在终端运行以下命令
composer require onestartup/landings
- 在config/app.php中的providers数组中添加ServiceProvider后运行
Onestartup\Landings\LandingsServiceProvider::class,
- 运行迁移
php artisan migrate
- 运行发布视图的命令
php artisan vendor:publish --tag=landing-public
- 运行发布资产的命令
php artisan vendor:publish --tag=public
- 运行发布配置文件的命令
php artisan vendor:publish --tag=config
- 运行serv
php artisan serve
- 测试此路由下管理员用户
https://:8000/admin/landings
- 添加.env变量
SLUG_LANDINGS=landings