讨论数量: 28
![](https://cdn.learnku.com/uploads/avatars/51815_1614821717.jpg!/both/100x100)
说个简单易懂不需要任何扩展直接使用的方法自动 url 选择
![](https://cdn.learnku.com/uploads/avatars/24819_1525682641.jpg!/both/100x100)
导航栏左边文章分类的自动缓存加载
关于教程里面的导航栏一些小优化
![](https://cdn.learnku.com/uploads/avatars/27860_1532584760.png!/both/100x100)
感觉 hieu-le/active 这个组件并没有多方便啊?
![](https://cdn.learnku.com/uploads/avatars/21326_1516590004.gif!/both/100x100)
板块加载慢(2.5s 左右)是什么原因导致的?
![](https://cdn.learnku.com/uploads/avatars/18295_1536560543.jpg!/both/100x100)
这一小节中第三步做完后也存在 N+1 查询的问题
![](https://cdn.learnku.com/uploads/avatars/87426_1645854810.jpg!/both/100x100)
用『视图共享』重写导航栏
![](https://cdn.learnku.com/uploads/avatars/27077_1533112765.jpg!/both/100x100)
问个深一点的问题,大佬们有解决方案吗?
![](https://cdn.learnku.com/uploads/avatars/5223_1470295877.jpeg!/both/100x100)
右边导航栏没有样式?
![](https://cdn.learnku.com/uploads/avatars/22455_1519868231.jpg!/both/100x100)
关于教程中 hieu-le/active:~3.5、barryvdh/Laravel-debugbar:~3.1 等常用的类库有没有资源整合及介绍的帖子?
![](https://cdn.learnku.com/uploads/avatars/15583_1658290555.png!/both/100x100)
分类导航的展示
![](https://cdn.learnku.com/uploads/images/201801/03/1/C57R3cUAap.jpg)
话题列表报错不出来 。文件目录中有 index 文件。
![](https://cdn.learnku.com/uploads/avatars/24872_1538279168.jpg!/both/100x100)
头部分类没有从数据库读取
![](https://cdn.learnku.com/uploads/images/201801/03/1/53yTn1mLOK.jpg)
PHPStorm 编辑器标黄?
![](https://cdn.learnku.com/uploads/avatars/27142_1558678019.jpg!/both/100x100)
"Class App\Http\Controllers\Category does not exist"
![](https://cdn.learnku.com/uploads/avatars/29611_1536630351.jpeg!/both/100x100)
category.show 的传入参数
![](https://cdn.learnku.com/uploads/avatars/83588_1623841384.jpeg!/both/100x100)
为什么我topics里的created_at和updated_at都是同一时间
![](https://cdn.learnku.com/uploads/avatars/74055_1607356914.jpeg!/both/100x100)
用$category->id来实现active是不是更简洁?
![](https://cdn.learnku.com/uploads/images/201801/03/1/AsLlHzUmyq.jpg)
请问,如果分类项,不跟话题列表共用视图,我应该怎么做?
![](https://cdn.learnku.com/uploads/images/201801/03/1/o9NW9VelF3.jpg)
本章如何对 N+1 问题进行优化?
![](https://cdn.learnku.com/uploads/avatars/88126_1632382284.jpeg!/both/100x100)
分享动态渲染category的方法
![](https://cdn.learnku.com/uploads/avatars/70294_1600854065.jpeg!/both/100x100)
加了active和没加active,样式(指选中的状态)不是一样吗,我这里看起来也没什么变化啊
![](https://cdn.learnku.com/uploads/avatars/55538_1577426010.jpeg!/both/100x100)
Topic::where ('category_id', $category->id)->paginate (20)
![](https://cdn.learnku.com/uploads/avatars/50413_1604136067.jpg!/both/100x100)
http://larabbs.test/post/{slug}如何改变 URL 中的 post 为{category}
![](https://cdn.learnku.com/uploads/avatars/4660_1465892227.jpeg!/both/100x100)
分类激活判断的一些帮助函数
![](https://cdn.learnku.com/uploads/avatars/41558_1559199483.png!/both/100x100)
都没发现这里没有注册 ActiveServiceProvider 吗
![](https://cdn.learnku.com/uploads/avatars/18791_1504528017.jpeg!/both/100x100)
关于 “分类下的话题” 的 url 定义
![](https://cdn.learnku.com/uploads/avatars/19745_1509604618.png!/both/100x100)
同一生命周期,不同的视图里有相同变量名会不会有影响?