I want to ask about best practice for Laravel.
I use gulp for my js and css. Which one should i include on push at the asset folder (use "gulp" on server) or public folder (gulp result)?
First, you can add Laravel default .gitignore content: https://github.com/laravel/laravel/blob/master/.gitignore
And add your js,css directory to .gitignore like this:
/public/css /public/js
Check it:
cat .gitignore /vendor /node_modules Homestead.yaml Homestead.json .env /public/css/ /public/js/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With