doctype_admin / landing_page
Doctype Admin 控制面板着陆页
dev-master
2020-07-20 15:06 UTC
Requires
- binarytorch/larecipe: v2.3.0
- intervention/image: ^2.4@dev
- livewire/livewire: dev-master
- orchestra/testbench: 5.x-dev
- realrashid/sweet-alert: dev-master
This package is auto-updated.
Last update: 2024-09-21 00:39:35 UTC
README
Laravel 7 Admin Panel Landing Page for lazy developers.
安装
运行 Composer Require 命令
composer require doctype_admin/landing_page
安装包资源
安装所有资源
php artisan DoctypeAdminLanding:install -a
此命令将发布
- 名为 landing.php 的配置文件
- 视图文件
- 迁移文件
- 种子文件
- 着陆页资源
- larecipe
仅安装配置文件
php artisan DoctypeAdminLanding:install -c
仅安装视图文件
php artisan DoctypeAdminLanding:install -f
仅安装迁移文件
php artisan DoctypeAdminLanding:install -m
仅安装种子文件
php artisan DoctypeAdminLanding:install -d
仅安装种子资源
php artisan DoctypeAdminLanding:install -l
仅安装种子文档
php artisan DoctypeAdminLanding:install -g
然后迁移数据库
php artisan migrate
此包包含三个种子
- LandingsTableSeeder
- FeaturesTableSeeder
- ServicesTableSeeder
如果尚未发布种子,则在 DatabaseSeeder.php 中初始化它们
<?php use doctype_admin\Landing\Models\Service; use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { // $this->call(UserSeeder::class); $this->call(LandingsTableSeeder::class); $this->call(FeaturesTableSeeder::class); $this->call(ServicesTableSeeder::class); } }
注意
如果找不到种子类,请尝试运行 composer dump-autoload
一些可能不经常更改且不需要存储在数据库中的少量文本来自配置文件,您可以根据需要更改它们
包配置文件
<?php return [ /* |-------------------------------------------------------------------------- | Prefix of landing page backend |-------------------------------------------------------------------------- | | Option to set the prefix of link to the backend. | Prefix "admin" recommended | */ 'prefix' => 'admin', /* |-------------------------------------------------------------------------- | Landing Page App Title |-------------------------------------------------------------------------- | */ 'app_name' => 'Doctype Admin', /* |-------------------------------------------------------------------------- | Landing Page Service Description |-------------------------------------------------------------------------- | */ 'service_description' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.', /* |-------------------------------------------------------------------------- | Describing App |-------------------------------------------------------------------------- | */ 'app_description_heading_1' => 'UNIQUE SCREENS THAT WORK PERFECTLY', 'app_description_1' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.', /* |-------------------------------------------------------------------------- | Download Our App Descriprion |-------------------------------------------------------------------------- | */ 'download_our_app_Heading' => 'We are here to listen from you deliver exellence', 'download_our_app_description' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod temp or incididunt ut labore et dolore magna aliqua. Ut enim ad minim.', /* |-------------------------------------------------------------------------- | Describing App |-------------------------------------------------------------------------- | */ 'app_description_heading_2' => 'We’ve made a life that will change you', 'app_description_2' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod temp or incididunt ut labore et dolore magna aliqua. Ut enim ad minim.', ];
侧边栏导航配置
在您的管理面板中,转到 config/adminlte.php,然后在菜单部分添加
[
'text' => 'Landing Page',
'icon' => 'fas fa-chess-rook',
'submenu' => [
[
'text' => 'Feature',
'icon' => 'fas fa-fire',
'url' => 'admin/feature',
],
[
'text' => 'Service',
'icon' => 'fas fa-concierge-bell',
'url' => 'admin/service',
],
[
'text' => 'Plans',
'icon' => 'fas fa-money-check',
'url' => 'admin/plan',
],
[
'text' => 'Landing Setting',
'icon' => 'fas fa-cog',
'url' => 'admin/landing_setting',
],
[
'text' => 'Contact',
'icon' => 'fas fa-envelope-square',
'url' => 'admin/contact',
],
]
],
管理面板截图
待办事项
- Turbolink
- 更好的UI
- 支持聊天
使用的包
许可
MIT
DOCTYPE NEPAL ||DR.H2SO4


