Making $scriptPath configurable
ijpatricio opened this issue · comments
Joao Patricio commented
Turn into an overridable default.
$scriptPath = 'resources/js/mingles/' . $this->component();
Joao Patricio commented
It is now explicit.
Use it just as in vite.config.js
public function component(): string
{
return 'resources/js/mingles/HelloWorld/index.jsx';
}