doctype_admin/doctype_website

用于网站启动的 Doctype Admin 包。

v1.0.6 2020-10-09 04:16 UTC

This package is auto-updated.

Last update: 2024-09-09 12:33:44 UTC


README

Doctype Admin Website

Issues Latest Stable Version Stars Downloads Issues

包含:-

  • 计数器
  • 页面
  • 组合
  • 图片
  • 服务
  • 常见问题解答
  • 计划

安装

运行 Composer Require 命令

composer require doctype_admin/doctype_website

安装包资源

安装所有资源

php artisan DoctypeAdminWebsite:install -a

此命令将发布

  • 名为 website.php 的配置文件
  • 视图文件
  • 迁移文件
  • 种子文件

仅安装配置文件

php artisan DoctypeAdminWebsite:install -c

仅安装视图文件

php artisan DoctypeAdminWebsite:install -f

仅安装迁移文件

php artisan DoctypeAdminWebsite:install -m

仅安装种子文件

php artisan DoctypeAdminWebsite:install -d

然后迁移数据库

php artisan migrate

此包包括两个种子

  • CountersTableSeeder
  • FaqsTableSeeder
  • PagesTableSeeder
  • PlansTableSeeder
  • PortfoliosTableSeeder
  • ServicesTableSeeder
  • TeamsTableSeeder

注意

如果找不到种子类,请尝试运行 composer dump-autoload

要将包路由链接添加到侧菜单以便访问,只需在 config/adminlte.php 中的 'menu' 键下添加以下内容

     [
            'text' => 'Website',
            'icon' => 'fas fa-globe',
            'submenu' => [
                [
                    'text' => 'Counters',
                    'icon' => 'fas fa-clock',
                    'url' => 'admin/website/counter',
                ],
                [
                    'text' => 'Team',
                    'icon' => 'fas fa-people-arrows',
                    'url' => 'admin/website/team',
                ],
                [
                    'text' => 'Page',
                    'icon' => 'fas fa-file',
                    'url' => 'admin/website/page',
                ],
                [
                    'text' => 'Portfolio',
                    'icon' => 'fas fa-camera',
                    'url' => 'admin/website/portfolio',
                ],
                [
                    'text' => 'Image',
                    'icon' => 'fas fa-images',
                    'url' => 'admin/website/image',
                ],
                [
                    'text' => 'Service',
                    'icon' => 'fas fa-concierge-bell',
                    'url' => 'admin/website/service',
                ],
                [
                    'text' => 'FAQ',
                    'icon' => 'fas fa-question',
                    'url' => 'admin/website/faq',
                ],
                [
                    'text' => 'Plan',
                    'icon' => 'fas fa-plus',
                    'url' => 'admin/website/plan',
                ],
                [
                    'text' => 'Project',
                    'icon' => 'fas fa-book',
                    'url' => 'admin/website/project',
                ],
            ]
        ],

管理员面板截图

Doctype Admin website Doctype Admin website Doctype Admin website Doctype Admin website

待办事项

  • 网站分析
  • 可维护性
  • 更好的 UI

使用的包

许可协议

MIT

DOCTYPE NEPAL ||DR.H2SO4