Overview:
The Laravel-Nuxtbuild is a starter template that combines Laravel and Nuxt.js frameworks to provide a comprehensive development environment. It includes essential features such as Laravel Fortify + Sanctum for authentication, Laravel Permission from Spatie for role-based access control, and Nuxt modules like Vuetify, Router, Axios, I18n, Eslint, VForm, Sweetalert 2, and Material Design Icons. The template also supports email verification, password reset, password confirmation, profile management, user management, and role management. It offers the option to choose between single page application (SPA) or server-side rendering (SSR) for Nuxt. Installation and deployment instructions are provided along with additional notes for customization.
Features:
- Laravel 10: Built on the Laravel 10 framework.
- Laravel Fortify + Sanctum: Includes Laravel Fortify and Sanctum for user authentication and API token generation.
- Laravel Permission from Spatie: Implements role-based access control using Laravel Permission from Spatie package.
- Nuxt 2: Utilizes Nuxt.js version 2.
- SPA (default) or SSR: Supports both single page application (SPA) and server-side rendering (SSR).
- Nuxt modules: Includes essential Nuxt modules such as Vuetify, Router, Axios, I18n, Eslint, VForm, Sweetalert 2, and Material Design Icons.
- Authentication: Provides features for user registration, login, email verification (disabled by default), password reset, and password confirmation.
- UI Management: Allows profile management, user management, and role management.
Installation:
To install the Laravel-Nuxtbuild template, follow these steps:
- Clone this project.
- Copy
.env.exampleto.envand set your variables. - Run
composer installandnpm install. - Run
php artisan key:generateandphp artisan migrate.
Summary:
The Laravel-Nuxtbuild template combines the power of Laravel and Nuxt.js frameworks to provide a comprehensive development environment. It includes essential features such as user authentication, role-based access control, and UI management. The template supports both single page application and server-side rendering options for Nuxt.js. Installation and deployment instructions are provided to guide users in setting up the template.