I would recommend that you give your route an alias with the name()
method since if your route is now called "home" but after you want it to be called "home", you should not change any file other than the of routes.
Route::get('home', function() {
return view('onepage.home');
})->name('home');
To obtain the aliased route, use the route()
method
<ul>
<li><a href="{{ route('home') }}">how it works</a></li>
</ul>
If afterwards you want your url to be called "start" you just have to change the file of your routes:
Route::get('inicio', function() {
return view('onepage.home');
})->name('home');