I currently have a website up and running. I developed a laravel application on localhost. I want to add the laravel app to my current live website. However, I do not want to have to build the website into the laravel app. What is the best way to install laravel so I leave my website untouched basically just adding the laravel app.
Basically I just want to add a login link to my current nav menu, and the login link takes me to the laravel app. Also, I do not want to use a sub-domain. Is this possible ? Is it good practice ?
Thanks, Julian
I did something like this - In my routes I have
Route::get('/', 'PagesController@landing');
which takes a visitor to the marketing page that's nested within my resource views
public function landing(){
return view('pages.landing.index');
}
From there you can add logic to determine if you want authenticated users to jump into the app when they hit the root domain or be taken to the landing page.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community