Overview:
The Laravel Vuejs SPA Starter Kit is a lightweight admin template based on Laravel and Vue.js. It offers features such as Laravel 5.7, Vue + VueRouter + Vuex + VueI18n + ESlint, dynamic import and custom layouts for pages, login, register, and password reset functionality, authentication with JWT, Socialite integration, Bootstrap 4 + Font Awesome 5, and easy installation and usage.
Features:
- Laravel 5.7: The project is based on Laravel 5.7, which provides a robust and flexible PHP framework for web development.
- Vue + VueRouter + Vuex + VueI18n + ESlint: The template utilizes Vue.js and its related libraries to enable dynamic rendering, state management, internationalization, and code linting.
- Pages with dynamic import and custom layouts: Users can easily create pages with dynamic import and customize the layout based on their specific requirements.
- Login, register, and password reset: The template includes pre-built functionality for user authentication, registration, and password reset.
- Authentication with JWT: The template supports JSON Web Tokens (JWT) for user authentication, providing a secure and efficient authentication process.
- Socialite integration: Socialite integration allows users to log in using popular social media platforms such as Facebook, Twitter, and Google.
- Bootstrap 4 + Font Awesome 5: The template is styled using Bootstrap 4 and includes Font Awesome 5 for a visually appealing and responsive design.
Installation:
To install the Laravel Vuejs SPA Starter Kit, follow these steps:
Run the following command to create a new Laravel project using the starter kit:
composer create-project dalholm/laravel-spa-starter-kitOpen the
.envfile and set your database connection details.Run the following commands to generate a new application key and JWT secret:
php artisan key:generate php artisan jwt:secretRun the database migrations using the following command:
php artisan migrateInstall the necessary Node.js dependencies by running one of the following commands:
npm install yarn
Summary:
The Laravel Vuejs SPA Starter Kit is a lightweight and feature-rich admin template based on Laravel and Vue.js. It provides various features such as user authentication, registration, and password reset, dynamic page creation, JWT-based authentication, socialite integration, and stylish design using Bootstrap 4 and Font Awesome 5. The installation process is straightforward, making it quick and easy to get started with building a single-page application with Laravel and Vue.js.