小白兔晒黑了

导航

 
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 32 下一页

2021年7月2日

摘要: 问题重现 使用第二个参数的时候发现没有传递message abort('404','你可能来到了没有知识的荒漠'); 解决办法 \vendor\laravel\framework\src\Illuminate\Foundation\Exceptions\views\404.blade.php @se 阅读全文
posted @ 2021-07-02 02:52 小白兔晒黑了 阅读(133) 评论(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 小白兔晒黑了 阅读(99) 评论(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 小白兔晒黑了 阅读(221) 评论(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 小白兔晒黑了 阅读(231) 评论(0) 推荐(0)
 

2021年6月28日

摘要: 1 传统模式 1.1 模板代码 \resources\views\questions\create.blade.php <select class="js-example-basic-multiple js-example-data-ajax form-control" name="topics[] 阅读全文
posted @ 2021-06-28 23:57 小白兔晒黑了 阅读(148) 评论(0) 推荐(0)
 

2021年6月23日

摘要: Laravel5.4 之前的版本用 gulp 的 laravel-elixir管理全段资源,Laravel5.4 版本开始使用webpack 的 Laravel Mix 来管理。 1 安装 npm --registry https://registry.npm.taobao.org info und 阅读全文
posted @ 2021-06-23 17:00 小白兔晒黑了 阅读(51) 评论(0) 推荐(0)
 

2021年6月16日

摘要: 1 话题相关表的创建 1.1 话题表 php artisan make:model Topic -m \database\migrations\2021_06_19_225546_create_topics_table.php public function up() { Schema::creat 阅读全文
posted @ 2021-06-16 01:23 小白兔晒黑了 阅读(125) 评论(0) 推荐(0)
 
摘要: 1 美化编辑器 1.1 下载百度编辑器 https://github.com/JellyBool/simple-ueditor git clone git@github.com:JellyBool/simple-ueditor.git 1.2 用此项目的 ueditor 目录替换原来的 uedito 阅读全文
posted @ 2021-06-16 01:22 小白兔晒黑了 阅读(150) 评论(0) 推荐(0)
 
摘要: 1 设计问题表 php artisan make:model Question -m \database\migrations\2021_06_17_205244_create_questions_table.php public function up() { Schema::create('qu 阅读全文
posted @ 2021-06-16 01:20 小白兔晒黑了 阅读(102) 评论(0) 推荐(0)
 
摘要: 1 修改代码 1.1 .env 添加一行 SEND_CLOUD_FROM SEND_CLOUD_USER=axxxxx_test_xxxx SEND_CLOUD_KEY=cAlfxxxxxxxxx SEND_CLOUD_FROM=apxxxx@Gxxxxxxxxxxxxxxxx.sendcloud. 阅读全文
posted @ 2021-06-16 01:19 小白兔晒黑了 阅读(119) 评论(0) 推荐(0)
 
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 32 下一页