Liviu Hariton
PHP developer
Laravel 10 & Vue/Vite & Inertia
Create a new Laravel project:
laravel new your_project_name
Add Vue/Vite to the game:
npm install --save-dev vue @vitejs/plugin-vue
Add Inertia to the game:
# server-side setup https://inertiajs.com/server-side-setup
composer require inertiajs/inertia-laravel
# client-side setup https://inertiajs.com/client-side-setup
npm install @inertiajs/vue3
Add ESLint
npm install --save-dev eslint eslint-plugin-vue
and enable it in PHPStorm
To configure ESLint automatically
in the current project
, open the Settings dialog (⌘Сmd + ,), go to Languages & Frameworks | JavaScript | Code Quality Tools | ESLint, and select the Automatic ESLint configuration option
To configure ESLint automatically
in all new projects
, open the Settings for New Projects dialog (File | New Projects Setup | Settings for New Projects) , go to Languages & Frameworks | JavaScript | Code Quality Tools | ESLint, and select the Automatic ESLint configuration option