火花注册页显示正常。我填写表格并提交,并在数据库中有一个新条目。 调用函数来获取当前用户: $router->get('/user/current', 'Laravel\Spark\Http\Controllers\[email protected]');
与控制器... /**
* Get the current user of the appliation.
*
* @return
我试图在Laravel Spark框架上使用jQuery进行单击时展开和折叠单个div。我的代码主要来自this question的答案。 当单击selectShow文本时,警报工作正常,但控制台显示此错误“Uncaught ReferenceError:$ selectShow is not defined”。即使我使用我提供的链接中的确切代码,我也会收到错误信息。快速搜索提到jQuery需要首