Laravel Fortify Vue Tailwind Template screenshot

Laravel Fortify Vue Tailwind Template

Author Avatar Theme by Laurensiusadi
Updated: 1 Feb 2021
6 Stars

Basic setup Laravel 8 + Fortify + Tailwind + Vue 2

Categories

Overview

The Laravel Public + Vue Private SPA is a basic setup that combines Laravel 8, Fortify, Tailwind, and Vue 2 to create a public facing website handled by Laravel and a private web app SPA using Vue. This setup allows for quick development without the need for server rendering for Vue.

Features

  • Essential Auth Pages Included: All necessary authentication pages such as login, registration, and password reset are already included.
  • Email Confirmation Sequence: The setup includes an email confirmation sequence for user verification.
  • Private Web App SPA: The private web app is built using Vue JS and includes a defined private route URL (/app).

Installation

To install the Laravel Public + Vue Private SPA, follow these steps:

  1. Copy the env.example file and rename it to .env.
  2. Fill in the necessary details for the database and email in the .env file.
  3. Install all dependencies by running composer install and npm install in the project directory.
  4. Run the database migrations with php artisan migrate.
  5. Start the Laravel server with php artisan serve in one terminal.
  6. In another terminal, run npm run watch to compile the Vue components.

Summary

The Laravel Public + Vue Private SPA is a simple setup that combines Laravel and Vue to create a public facing website and a private web app SPA. It includes all the necessary authentication pages and allows for easy installation and customization. Users can quickly set up a basic public website handled by Laravel with a private web app that utilizes Vue JS.