在我的新 Laravel 项目中添加 Tailwind 模板后,我尝试运行npm run watch但它不起作用,因此模板也无法正确加载。
$ npm run watch
npm ERR! Missing script: "watch"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\U-S-E-R\AppData\Local\npm-cache\_logs\2022-07-27T18_05_36_192Z-debug-0.log
Run Code Online (Sandbox Code Playgroud)
我无法使用 ctrl+click 访问定义。即使当我尝试使用单击+转到定义时,它也说找不到定义。
在这里,我尝试按 F12 转到主 Statefulguard 文件
use Illuminate\Contracts\Auth\StatefulGuard;
public function __construct(StatefulGuard $guard)
{
$this->guard = $guard;
}
Run Code Online (Sandbox Code Playgroud)
