Overview
The Laravel-Nuxt is a starter project template that combines the Nuxt framework with the Laravel framework. It provides features for building single-page applications (SPA) or server-side rendered applications (SSR). The template includes integration with Socialite, VueI18n, ESLint, Bootstrap 4, Font Awesome 5, and features for login, registration, email verification, and password reset.
Features
- Nuxt 2: Uses the latest version of Nuxt framework.
- Laravel 8: Utilizes the features of Laravel version 8.
- SPA or SSR: Allows the development of single-page applications or server-side rendered applications.
- Socialite integration: Includes integration with Laravel Socialite, with an example provided for GitHub.
- VueI18n + ESlint + Bootstrap 4 + Font Awesome 5: Provides internationalization support with VueI18n, code linting with ESlint, styling with Bootstrap 4, and icons with Font Awesome 5.
- Login, register, email verification, and password reset: Includes functionality for user authentication and account management.
Installation
Run the following command to create a new Laravel-Nuxt project:
composer create-project --prefer-dist cretueusebiu/laravel-nuxtEdit the
.envfile and set your database connection details.If you installed the project using
git cloneor a downloaded zip file, run the following commands:php artisan key:generate php artisan jwt:secretRun the migration command to create the necessary database tables:
php artisan migrateInstall the required NPM packages:
npm install
Summary
The Laravel-Nuxt starter project template combines the Nuxt and Laravel frameworks to provide a robust development environment for building single-page or server-side rendered applications. It includes features such as social login integration, internationalization support, user authentication, and account management. The installation process involves creating a new project, configuring the database, running migrations, and installing NPM dependencies.