Skip to content

A Laravel 9, Vite, Vue 3 SPA (w/ Vue Router), Tailwind CSS (w/ Forms Plugin), Axios, Headless UI, Heroicons, & TypeScript starter template.

License

Notifications You must be signed in to change notification settings

NukeJS/laravel-vite-vue-spa-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel 9 + Vite + Vue 3 + Tailwind CSS

This starter template includes:

  • Laravel 9
  • Vite
  • Vue 3
  • Tailwind CSS (w/ @tailwindcss/forms)
  • Vue Router
  • Axios
  • Headless UI
  • Heroicons
  • TypeScript

Information

Installation

Install the composer dependencies:

composer install

Make a copy of the .env.example file named .env:

cp .env.example .env

Generate an app key:

php artisan key:generate

Install all package.json dependencies:

npm install

Run vite to serve your assets/bundle:

npm run dev

Open a new terminal instance and serve the application:

php artisan serve

Deployment

Build the app:

npm run build

Now all you have to do is serve the Laravel app in a production environment.

About

A Laravel 9, Vite, Vue 3 SPA (w/ Vue Router), Tailwind CSS (w/ Forms Plugin), Axios, Headless UI, Heroicons, & TypeScript starter template.

Resources

License

Stars

Watchers

Forks