This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<details> | |
<summary>sw_vers</summary> | |
<pre>ProductName: macOS | |
ProductVersion: 12.2.1 | |
BuildVersion: 21D62</pre> | |
</details> | |
<details> | |
<summary>valet --version</summary> | |
<pre>Laravel Valet 2.15.4</pre> | |
</details> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import qs from 'qs' | |
export default { | |
parseQuery: qs.parse, | |
stringifyQuery: qs.stringify, | |
scrollBehavior: () => {} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Do this once to initiate the setup | |
* Works only on Local development. Configure isLocal() to your taste | |
* Run yourwebsite.dev?tw-init. This will create ANY existing posts- | |
* -as HTML files in your theme-root/posts-html directory | |
* Make sure to .gitignore the posts-html directory | |
* | |
* Update the Tailwind purge config like below and |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Casts; | |
use Cknow\Money\Money; | |
use Cknow\Money\MoneyCast; | |
use Illuminate\Contracts\Database\Eloquent\CastsAttributes; | |
use InvalidArgumentException; | |
class MoneyIntegerCast extends MoneyCast implements CastsAttributes |