php - What is the best way to install Laravel on HTML website that already use GIT? -
i have complete html website folders css, js & images , use version control git.
what best way install laravel 5 on website keep git track diversion html laravel framework smoothly.
the steps convert current html website laravel easy unless if have js backend:
- install laravel
- move css,js,images laravel public folder
- move html files resource/views , rename them name.blade.php or name.php.
- fix reference links of css, js , images.
- the big part!!! navigation go through routes , backend logic in controllers. e.g. wanna go page! have rule in route redirect function in controller , function call view (html page currently) , optionally pass information view.
these simple ways transfer website, once can learn many features of laravel can optimize site.
Comments
Post a Comment