Before creating your first LaraPress project, make sure that your local machine has PHP and Composer installed.
After you have installed PHP and Composer, you may create a new LaraPress project via Composer's create-project
command:
----------------------------------------------------------
↓ composer create-project larapresscms/larapress myproject
-----------------------------------------------------------
Once the project has been created, start LaraPress local development server using:
--------------------
https://localhost/myproject
-------------------
No Need Laravel Artisan's serve
command.
Here is the video tutorial:
== Folder Stucture==
<html>
<head>
<link href="{{ asset('front/css/styles.css')}}" rel="stylesheet" />//all site assets is 'public/front' folder
</head>
<body>
//when login user show username
@auth()
Profile ({{ optional(auth()->user())->name}})
@endauth
//its guest mode
@guest()
@endguest
@yield('content') //main content
</body>
</html>
sideber widget