V
V
Vic Shostak2016-10-30 19:38:40
css
Vic Shostak, 2016-10-30 19:38:40

Laravel 5.3: how to replace embedded Twitter Bootstrap with another CSS framework (Semantic UI)?

Greetings!
I just started smoking this wonderful PHP framework and the question immediately arose: how to replace the built-in Twitter Bootstrap with Semantic UI ? Maybe someone has already done this and will share a working solution, or at least tell you “how, where and what” to add?
Thank you in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrzej Wielski, 2016-10-30
@vikkyshostak

Laravel is a server-side framework that doesn't work with HTML in any way. Moreover, Bootstrap is not built into it.
Most likely you are confused by the "bootstrap" folder in the root of the project. Formally, the cache of your views is stored there, and the autoload generated to launch the application. An entry point, in other words.
All you need to touch in terms of development is the app, config, database, routes, and resources folders.
app - here are all your models, controllers, events, etc.
config - configs
database - migrations and seeders
routes (5.3+) - files with routes
resources - your views (views)
Well, the public folder - entry point (index.php), and .htaccess
It is in this folder that you can add all html frameworks and just work with them.
Also, you might be confused by the fact that when the artisan make:auth method is called, views are created that use bootstrap. Simply rewrite the template of these views (resources/view/auth) to fit your needs.
Good luck at the beginning of your journey.

D
Dmitry, 2016-10-30
@Sad_Bro

create a view master template, and connect anything there, even bootstrap or anything else.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question