Front end scalfolding with css and js with laravel ui package

Install laravel/ui package

composer require laravel/ui

Run this command

php artisan ui bootstrap
npm install
npm run dev

Add CSS and js link at your views template

<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="{{ asset("css/app.css") }}">
<script src="{{ asset("js/app.js") }}"></script>
© 2016 - 2022, All Rights are Reserved.