markocupic / contao-theme-boilerplate
Contao 主题模板
Requires
This package is auto-updated.
Last update: 2024-09-15 05:28:58 UTC
README
内容
此包包含一个简单的起点,以开始Contao主题的定制。它还安装了以下扩展:
"contao/core-bundle": "^4.7, <5",
"contao-bootstrap/bundle": "^2.1",
"contao-bootstrap/core": "^2.0",
"markocupic/contao-news-infinite-scroll-bundle": "^1.0",
"markocupic/gallery-creator-bundle": "^1.2",
"markocupic/rotate_image": "^1.0",
"markocupic/contao-db-backup": "^1.2"
安装
安装此包后,将以下两个目录的内容复制到相应位置:
vendor/markocupic/contao-theme-boilerplate-bundle/src/Resources/contao/files nach files/
和
vendor/markocupic/contao-theme-boilerplate-bundle/src/Resources/contao/templates nach templates/
导入模板
在 vendor/markocupic/contao-theme-boilerplate-bundle/src/Resources/contao/files/yellow_theme 中有 yellow_theme.sql 文件。如果您想导入模板,请将其复制到 templates 目录。
后端登录:用户名:k.jones 密码:kevinjones
导入主题
在 vendor/markocupic/contao-theme-boilerplate-bundle/src/Resources/contao/files/yellow_theme 中有 yellow_theme.cto 文件。如果您想从后端导入主题,请使用此文件。
别忘了重建缓存
复制完两个目录后,别忘了清空内部缓存。
vendor/bin/contao-console cache:clear --env=dev
vendor/bin/contao-console cache:clear --env=prod