allmega / theme
Allmega CMS的主题管理系统
此包的规范存储库似乎已消失,因此包已被冻结。
v1.0
2024-01-15 21:22 UTC
Requires
- php: ^8.1
- ext-dom: *
- ext-json: *
- allmega/blog: ^1.0
This package is auto-updated.
Last update: 2024-01-18 12:49:29 UTC
README
请确保全局已安装Composer,如Composer文档中的安装章节所述。
使用Symfony Flex的应用程序
打开命令行,进入您的项目目录并执行
$ composer require allmega/theme
未使用Symfony Flex的应用程序
步骤 1:下载Bundle
打开命令行,进入您的项目目录并执行以下命令以下载此Bundle的最新稳定版本
$ composer require allmega/theme
步骤 2:启用Bundle
然后,通过将其添加到项目config/bundles.php
文件中注册的Bundle列表中,来启用此Bundle
// config/bundles.php
return [
// ...
Allmega\ThemeBundle\AllmegaThemeBundle::class => ['all' => true],
];
注册已安装的Bundle并为此加载需要的数据
打开命令行,进入您的项目目录并执行
$ ./bin/console allmega:bundles register theme
$ ./bin/console doctrine:schema:update --force
$ ./bin/console allmega:bundles load theme
$ yarn encore prod
Bundle已准备好使用!
更多信息
系统菜单点短名称到路由映射
- menupoints.themes => /theme