Node js tutorial in Hindi #23 Add static file | add css

preview_player
Показать описание
In this node js Hindi tutorial for beginners, we learn how to add style and public file or we can say that add the static file. Let's learn about npm with a simple example. This video is made by anil Sidhu in the Hindi language

Step of video:
Make folder assets and make css file
Make routed middleware and use express static built-in middleware
Use it
Include it
add some style



full playlist for tutorials

Checkout and subscribe our new channel for technical news
Рекомендации по теме
Комментарии
Автор

Checkout and subscribe our new channel for technical news

codestepbystep
Автор

Thank you bro bahut pareshan the but apne sikha diya

mdkalam-gxlc
Автор

Thank you sir this really works! Even if file structure is assests/css/style.css, u just need to change the path in html file😊

neharajput
Автор

thanks sir :)
its work :)
I can't express how happy I am :)

adnansamisanto
Автор

thanxx sir
you resolved my big problem
love you

shaktibehera
Автор

Agar file nested ho gi tho tub kis taran *middleware* ma call karinga? like
*assets>css>style.css*

iUmerFarooq
Автор

my common css not working on profile page

razimomin
Автор

app.use('/assets', express.static('assets'));

How to it knows woh file ke aandar- /assets likha hoga?

akshayzade
visit shbcf.ru