Skip to content

Boilerplate for Laravel including Tailwind, Vue, Vuex, Vue-router, Sass, and Laravel-mix.

Notifications You must be signed in to change notification settings

PascalHesselink/LaravelSPABoilerplate

Repository files navigation

Laravel SPA Boilerplate

Boilerplate for Laravel including Tailwind, Vue, Vuex, Vue-router, Sass, Font and Laravel-mix.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Installing

Download the project and open it in your terminal and code editor!

1 - Install the packages via composer:

composer install

2 - Install the packages via npm:

npm install

3 - Copy the .env file

cp .env.example .env

4 - Setup your .env file with correct database settings

5 - Run the migrations

php artisan migrate

6 - Run the migrations

php artisan passport:install

optional - Run the seeder to create the default admin user

php artisan db:seed

Username: Admin
Password: password

Start coding

Serve the website

php artisan serve

While developing run:

npm run watch

Deployment

Before deploying your project run the following command

npm run production

Built Mainly With

Credits

License

This project is licensed under the MIT License

About

Boilerplate for Laravel including Tailwind, Vue, Vuex, Vue-router, Sass, and Laravel-mix.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages