To get started with the installation, follow these steps:
-
Enter project directory
cd laravel-inertia-vue-project -
Install/update composer
composer install | composer update | composer install --ignore-platform-req=ext-iconv -
Install npm
npm install -
Set up the environment variables
cp .env.example .env -
Generate an application key
php artisan key:generate -
Configure the database
php artisan migrate -
Generate storage link
php artisan storage:link -
Start the development servers
npm run dev&php artisan serve -
Visit the application at http://localhost:8000
To get started with the tests, make sure you have enabled these extensions in your "php.ini" file if you are running the application on your local machine:
extension=pdo_sqlite
extension=sqlite3
Before running test make sure you bilded application using following command:
npm run build
To run tests run:
php artisan test