4 | How to Set Up a Development Build with Laravel | Laravel for Complete Beginners

Channel:
Subscribers:
497,000
Published on ● Video Link: https://www.youtube.com/watch?v=in_4vkUlrcg



Duration: 0:00
10,748 views
312


In this lesson, I will show a new Laravel project setup, and how to find various files inside the project. 🙂 We will also set up some environment variables, as well as create our first pages for our Laravel website.

➤ TIMESTAMPS

00:00:00 - How to set up a development server
00:02:24 - Install Node.js
00:03:49 - Changing the environment of our project
00:04:57 - Changing the vite.config.js
00:05:51 - Starting up our testing server
00:09:07 - How to get CSS working in the dev build
00:11:27 - Pushing the dev build changes into our production build

➤ HOW TO SET UP PACKAGE.JSON & VITE.CONFIG.JS

Use the terminal, and type this to create the package.json:

npm init -y

Then use this command to install the vite plugin:

npm install laravel-vite-plugin --save-dev

If you still do not have the vite.config.js file, just create it manually, and then paste this inside the file:

import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';

export default defineConfig({
plugins: [
laravel([
'resources/css/app.css',
'resources/js/app.js',
]),
],
});

➤ GET ACCESS TO MY LESSON MATERIAL! 👇

First of all, thank you for all the support you have given me!

I am really glad to have such an awesome community on my channel. It motivates me to continue creating and uploading content! So thank you!

I am now using Patreon and YouTube Memberships to share improved and updated lesson material, and for a small fee you can access all the material either from my memberships or Patreon, depending on your preference. I have worked hard, and done my best to help you understand what I teach.

I hope you will find it helpful :)

Get lesson material using these links:
Memberships:
Patreon: https://www.patreon.com/mmtuts




Other Videos By Dani Krossing


2025-04-1910 | Create Database Tables in Laravel with Migrations | Laravel for Complete Beginners
2025-04-189 | How to Create Models & Controllers in Laravel | Laravel for Complete Beginners
2025-02-19🔥 PHP Full Course 2025 - Learn PHP from Scratch | PHP Tutorial for Beginners 🚀
2025-01-28How to Insert Images into a Laravel Website – Step-by-Step Guide for Beginners
2025-01-257 | How to Create Layouts in Laravel & Use @include to Reuse Views! | Laravel for Complete Beginners
2025-01-126 | How to Use Post Type Routes in Laravel for Beginners | Laravel for Complete Beginners
2024-12-025 | How to Use Get Type Routes in Laravel for Beginners | Laravel for Complete Beginners
2024-11-239 | Killing the Final Boss & Escaping the Mansion! - Playing Resident Evil After 28 Years
2024-11-174 | How to Set Up a Development Build with Laravel | Laravel for Complete Beginners
2024-11-138 | Going Through the Terrifying Tunnels! - Playing Resident Evil After 28 Years
2024-11-097 | Most Intense, Stressful and Terrifying Episode yet! - Playing Resident Evil After 28 Years
2024-11-066 | Mutant Plants, Spiders, and Frogs! - Playing Resident Evil After 28 Years
2024-10-295 | Entering the Terrifying Residence in the Woods! - Playing Resident Evil After 28 Years
2024-10-214 | Giant Snake Boss Encounter! - Playing Resident Evil After 28 Years
2024-10-173 | Playing Resident Evil After 28 Years – Crimson Head first reaction!
2024-10-152 | Playing Resident Evil After 28 Years – I Became a Jill Sandwich!
2024-10-12Playing Resident Evil After 28 Years – The Remake is Just as Terrifying!
2024-08-20How to Create a Responsive Navigation Bar for Beginners | Responsive Menu | HTML & CSS Quick Tips
2024-08-12Create a Sticky Header Only Using CSS | HTML & CSS Quick Tips | HTML & CSS Sticky Header
2024-04-283 | Laravel Project Setup & Getting Started | Laravel for Complete Beginners | Laravel Tutorial
2024-04-282 | How to Easily Install Laravel | Laravel for Complete Beginners | Laravel Tutorial