Menu

Post image 1
Post image 2
1 / 2
0

Integrating TailAdmin with Laravel

DEV Community·Rafli Zocky·25 days ago
#D1bZUndj
Reading 0:00
15s threshold

Full code: raflizocky/laravel11-tailadmin . # Laravel 11 Requirements php -v # >= 8.2 composer -v node -v # >= v14.16 npm -v Enter fullscreen mode Exit fullscreen mode Laravel Start Apache & MySQL in your web server. # install laravel 11 composer create-project "laravel/laravel:^11.0" example-app # .env DB_CONNECTION = mysql DB_HOST = 127.0.0.1 DB_PORT = 3306 DB_DATABASE = your_db DB_USERNAME = root DB_PASSWORD = your_password # migrate & serve php artisan migrate php artisan serve Enter fullscreen mode Exit fullscreen mode TailAdmin 1. Download Use the HTML + Tailwind CSS template. Extract and rename it to tailadmin , then move it to Laravel's public folder. 2. Webpack Since the template uses Webpack, build the project to generate required assets: # Navigate to public/tailadmin, open terminal npm i npm run build Enter fullscreen mode Exit fullscreen mode Verify a build folder was created inside tailadmin . 3.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More