cakephp - 错误:“仪表板”不是 --theme 的有效值
问题描述
我尝试了几次按照这里的教程创建自己的烘焙主题: https ://book.cakephp.org/bake/1/en/development.html#creating-a-bake-theme
当我尝试运行名为 Dashboard 的主题时,我得到了这些:
Error: "Dashboard" is not a valid value for --theme. Please use one of "Bake, Migrations, WyriHaximus/TwigView"
Error: "DashboardTheme" is not a valid value for --theme. Please use one of "Bake, Migrations, WyriHaximus/TwigView"
我尝试了以下命令:
cake bake all --theme Dashboard clients
cake bake all --theme DashboardTheme clients
我的文件结构:
解决方案
插件未加载,缺少bootstrap()
.
推荐阅读
- c# - 带有 Telegram 频道按钮的缩略图卡会产生 InternalServerError
- javascript - Web App 运行 Mac OS X 程序并将结果上传到服务器
- django - 我无法在我的帖子中添加类别网址
- python - 错误捕获结合计数器不起作用
- python - 如果使用Python满足条件,则查找列表元素的平均值?
- user-interface - 如何在 Flutter 中设计兼容屏幕分辨率的 UI?
- javascript - .env 调用不同文件中的变量
- python-3.x - Pandas isin vs Numpy in1d
- laravel - Laravel 与 vagrant/homestead 的新项目
- android - Qt Android:有没有办法用初始化列表初始化 std::map?