npm run dev
php artisan serve
For building filter
$filters = $this->filterSessions($request, 'THE PREFIX', [
'keyword' => ''
Scope ->filterSort($filters)
for index sorting
You can find Index and Edit template at resources/js/Components/Clone
Switch between Mysql or MongoDB
At App\Models\BaseModel.php
switch between use App\Models\Model
and use Moloquent
php artisan make:controller ProductController --model=Product --resource
- Switch to release branch
git checkout release
npm run build
- .vue file will generate to public/build folder