Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Vue SPA Black template connected to working Laravel REST API with the help of json:api standard

Light Bootstrap Dashboard is an admin dashboard template designed to be beautiful and simple.
Vue Black Dashboard Laravel is a free, MIT-licensed full-stack admin dashboard template that combines a Vue 2 single-page application with a Laravel REST API built on the JSON:API specification, created by Creative Tim in partnership with UPDIVISION.
Vue Black Dashboard Laravel is a starter kit that ships as two project folders: a Vue frontend based on Vue Black Dashboard v1.1.1 and a Laravel JSON:API backend based on Black Dashboard v1.0.1. It gives you working authentication, profile editing, and a set of dashboard pages that communicate over a real API. The frontend runs in a Vue CLI environment with Node 8.9 or above, and the backend requires PHP, Composer, MySQL, and a multi-threaded web server such as Apache or Nginx.
src/pages/Login.vue and src/pages/Register.vue, backed by a Vuex auth store at src/store/modules/auth.js; the demo account is [email protected] with password secret.composer install, php artisan migrate --seed, and php artisan passport:install.src/pages/Examples/UserProfile, which contains EditProfileCard.vue and EditPasswordCard.vue.ListUserPage.vue), Table List, Maps, Icons, Notifications, Typography, and a starter layout, all wired in src/router/index.js.src/plugins/blackDashboard.js.VUE_APP_BASE_URL and VUE_APP_API_BASE_URL from .env; the Laravel app reads database credentials, Passport client ID/secret, and Mailtrap credentials from its .env.src/store/services.The repository provides two projects that you run separately. For the Laravel API, install dependencies with Composer, create your .env file, set database credentials, then run migrations, key generation, and Passport installation before adding the client credentials to .env. For the Vue frontend, install dependencies with npm, set the two VUE_APP_* URL variables to point at your frontend and API, then start it with npm run dev or build with npm run build. The Vue app authenticates via Laravel Passport and stores the session in Vuex.
php artisan serve because it stalls requests; the Vue frontend needs Node 8.9 or above, with 8.11.0+ recommended.Vue Black Dashboard Laravel is free to download and use under an MIT license. Creative Tim also sells a PRO version, Vue Black Dashboard PRO Laravel, which adds more components and features.
Yes, the free version is MIT-licensed, so you can use it without paying license fees. A separate paid PRO version is available if you need more components and features.
You can register a new user through the registration page or log in with the seeded admin account using [email protected] and password secret. After login you can access the dashboard, profile, and user management pages.
The README warns that PHP's built-in web server is single-threaded, which causes stalled API requests in this project. It recommends a multi-threaded environment like Apache/Nginx, with Laradock for Linux/Mac or Laragon for Windows.
The template includes Dashboard, User Profile with edit profile and change password cards, User Management list, Table List, Maps, Icons, Notifications, Typography, and a starter layout, plus Login, Register, Password Email, and Password Reset pages.
The Vue frontend is based on Vue Black Dashboard v1.1.1, and the design layer is Black Dashboard v1.0.1. The backend is a Laravel JSON:API project that uses Laravel Passport for authentication.