会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
小白兔晒黑了
导航
博客园
首页
新随笔
联系
订阅
管理
公告
上一页
1
···
5
6
7
8
9
10
11
12
13
···
28
下一页
2021年7月25日
Laravel 5.8 做个知乎 15 —— 站内信通知
摘要: 1 创建通知表 php artisan notifications:table php artisan migrate 2 代码 2.1 \app\Notifications\NewUserFollowNotinfication.php php artisan make:notification N
阅读全文
posted @ 2021-07-25 02:16 小白兔晒黑了
阅读(206)
评论(0)
推荐(0)
编辑
2021年7月21日
Laravel 5.8 做个知乎 13 —— Api token用户认证
摘要: 0 设置 config/auth.php 'api' => [ 'driver' => 'token', 'provider' => 'users', 'hash' => true, ], 1 添加users表字段api_token php artisn make:migration add_api
阅读全文
posted @ 2021-07-21 02:23 小白兔晒黑了
阅读(229)
评论(0)
推荐(0)
编辑
Laravel 5.8 做个知乎 12 —— 关注按钮 Vue js的组件
摘要: 1 创建组件 \resources\js\components\QuestionFollowButton.vue <template> <button class="btn " v-text="text" v-on:click="follow" v-bind:class="{'btn-success
阅读全文
posted @ 2021-07-21 01:07 小白兔晒黑了
阅读(36)
评论(0)
推荐(0)
编辑
2021年7月15日
Laravel 5.8 做个知乎 11 —— 添加关注 toggle方法 的使用
摘要: 1 创建关注表数据 php artisan make:migration create_user_question_table --create=user_question \database\migrations\2021_07_15_002200_create_user_question_tab
阅读全文
posted @ 2021-07-15 21:05 小白兔晒黑了
阅读(58)
评论(0)
推荐(0)
编辑
2021年7月7日
Laravel 模板错误 如何快速定位
摘要: Laravel 报错显示的行数指向编译后的文件如何准确定位问题 https://learnku.com/laravel/t/52193
阅读全文
posted @ 2021-07-07 14:39 小白兔晒黑了
阅读(55)
评论(0)
推荐(0)
编辑
Laravel 5.8 做个知乎 10 —— 添加回答
摘要: 1 创建回复表 1.1 创建表 php artisan make:model Answer -m \database\migrations\2021_07_07_131436_create_answers_table.php public function up() { Schema::create
阅读全文
posted @ 2021-07-07 14:23 小白兔晒黑了
阅读(38)
评论(0)
推荐(0)
编辑
2021年7月2日
Laravel 5.8 bug修复 在abort方法中自定义提示消息 没有显示
摘要: 问题重现 使用第二个参数的时候发现没有传递message abort('404','你可能来到了没有知识的荒漠'); 解决办法 \vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\views\404.blade.php @se
阅读全文
posted @ 2021-07-02 02:52 小白兔晒黑了
阅读(103)
评论(0)
推荐(0)
编辑
2021年7月1日
Laravel 5.8 做个知乎 9 —— 编辑问题、显示问题列表 、与创建问题
摘要: 1 路由 \routes\web.php //首页重定义 Route::get('/','QuestionsController@index'); Route::resource('questions','QuestionsController',[ 'names'=>[ 'create' =>'q
阅读全文
posted @ 2021-07-01 14:24 小白兔晒黑了
阅读(70)
评论(0)
推荐(0)
编辑
2021年6月30日
Laravel 5.8 做个知乎 8 ——Laravel mix的使用
摘要: 1 安装npm 1.1 配置 package.json { "private": true, "scripts": { "dev": "npm run development", "development": "cross-env NODE_ENV=development node_modules/
阅读全文
posted @ 2021-06-30 22:02 小白兔晒黑了
阅读(172)
评论(0)
推荐(0)
编辑
laravel 5.8 mix:报错 TypeError: this.getOptions is not a function 解决方案
摘要: laravel mix 执行npm run dev时报错 ERROR in ./resources/sass/app.scssModule build failed (from ./node_modules/style-loader/dist/cjs.js):TypeError: this.getO
阅读全文
posted @ 2021-06-30 20:05 小白兔晒黑了
阅读(162)
评论(0)
推荐(0)
编辑
上一页
1
···
5
6
7
8
9
10
11
12
13
···
28
下一页