小白兔晒黑了

导航

 
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 28 下一页

2021年7月25日

摘要: 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日

摘要: 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) 编辑
 
摘要: 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日

摘要: 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 报错显示的行数指向编译后的文件如何准确定位问题 https://learnku.com/laravel/t/52193 阅读全文
posted @ 2021-07-07 14:39 小白兔晒黑了 阅读(55) 评论(0) 推荐(0) 编辑
 
摘要: 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日

摘要: 问题重现 使用第二个参数的时候发现没有传递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日

摘要: 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日

摘要: 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 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 下一页