Laravel 6 Tutorial for Beginners #10 - Route Parameters (wildcards)

preview_player
Показать описание
Hey gang, in this Laravel tutorial we'll take a look at route parameters, otherwise known as wildcards.

🐱‍👤🐱‍👤 JOIN THE CAUSE -
----------------------------------------
🐱‍💻 🐱‍💻 My Udemy Courses:

🐱‍💻 🐱‍💻 Course Links:

🐱‍💻 🐱‍💻 Other Related Free Courses:

🐱‍💻 🐱‍💻 The Net Ninja Community Boards:
Рекомендации по теме
Комментарии
Автор

Dude you are a great teacher. I am lucky to find your tutorials during lockdown. Its very easy to follow you. You are awesome.

youngmindscomnp
Автор

I really hope me watching the YouTube ads benefits you because since I subscribe I ensure that I watched as much as I can although I want to get on to the learning.

johnwilliams
Автор

your the best teacher, asante sana mungu akubariki, asante.

genesdada
Автор

If you have problems with CSS not showing on a page with wildcards you need to use this function on your link href.
asset('css/file_name.css')

For example in the layout file:

Before: <link rel="stylesheet" href="css/main.css">


In that case when you use a wildcard, for example, file/1 then laravel will reach for the css file in views directory and will not find anything.

You can solve this by telling laravel that you want to use the css file in the root resources (public) directory.

After: <link rel="stylesheet" ">

English is not my mother tongue so sorry for the bad spellings

Ricfps
Автор

Super well explanation. Thank you very much!

ДаниилПак-цн
Автор

I first saw part 11 and thought that you forgot to explain the route params!

ProgrammingwithPeter
Автор

I don't skip the long ads as a way of saying thanks ;)

regaI
Автор

hello there im having issue regarding adding css for details page. the css path for welcome and pizza pagge works well but that exact same path does not work with details page

prashantjani
Автор

CSS styling doesn't apply in /pizzas/{id} I can't figure out why?

m.osama
Автор

I get an error says:
View(details) not found
😥💔
How can I fix it

hindhilali
Автор

can anyone explain the difference between Route and Query parameters

AhmedHamed-zumt
Автор

" {id} makes sense to me but you can call it whatever you want . *writes* {blah} "
DUDE!!!!?

ameer
Автор

thanks a lot, but "id" didn't work ...!!

hossamaddin