Комментарии:
I don't think there is any special usecase for handlebars or pug if you're using React as a front end for your project.
Ответитьtemple engine are deprecated
Ответитьuse this if you are getting lookup error :app.set("views", path.join(__dirname, "../views"));
Ответить💗❤️
ОтветитьLike comment done ❤ and thanx for awesome videos❤
Ответитьsir meri code main Failed to lookup view "index" in views directory yeh error aa rahi h what I do
Ответитьthanks buddy for this tutorial i was frustrating about pug etc it's simple and easy
Ответитьbro when i use hbs to load a page it doesn't get styles?
ОтветитьFailed to lookup view error solution:
In the terminal just type node src/index.js
Osm explanation 🔥
ОтветитьWhy cant we use readfile module and then use replace method
For dynamic data
hbs not working
Ответитьthanks , this video cleared a lot of my doubts, when we did the weather app project i was wondering if there was an easy way to replace the data from api, and this makes it so easier.
ОтветитьHi Thapa, You are doing a great job, and Thank you so much😊😊
ОтветитьThapa ji pls explain little bit slowly,so we understand so better
Ответитьplz share link of source code for this
ОтветитьHelpful video thanks you so much sir 🙏
ОтветитьThanks Very Nice
ОтветитьApne itne sare folders and jo cmd se files bnae wha m bht confuse hogyi and output m mjhe kch smjhni aya
ОтветитьMjhe kch b smjh ni ara kha konsa folder bnra kha file jari
Ответитьkeep your views folder inside src accordingly then it will not show any error
ОтветитьAik to smj ni ati ye bkwas q krta ha har video wala k meri ye video dekho wo video dekho
ОтветитьPS D:\NODEJS> npm start
> [email protected] start
> nodemon app.js
[nodemon] 2.0.20
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): .
[nodemon] watching extensions: js,mjs,json
[nodemon] starting `node app.js`
D:\NODEJS\app.js:11
expressHbs({
^
TypeError: expressHbs is not a function
at Object.<anonymous> (D:\NODEJS\app.js:11:3)
at Module._compile (node:internal/modules/cjs/loader:1218:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
at Module.load (node:internal/modules/cjs/loader:1081:32)
at Module._load (node:internal/modules/cjs/loader:922:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:23:47
Node.js v18.13.0
[nodemon] app crashed - waiting for file changes before starting...
how to solve the error plese help me
Plz tell me
ОтветитьHello sir
My external css file is not linked with my hbs file
Hello Sir,
Can you please Explain Difference Between express-handlebars, handlebars, hbs , I am getting very confused
what if github is looking for index.html and we have index.hbs ....unless its index.html we wont be able to see the page any solution????
Ответитьwhich template engine is most usable nowaday
Ответитьi am getting html inside views without css and images applied. I mean It cannot fetching the assets?
ОтветитьThanks bhai bhot haelping video ha
ОтветитьThank you brother 🥰🥰🥰🥰🥰🥰
Bs ek galti ki bajah se nhi chal raha tha 🥰🥰🥰🥰🥰🥰 ab chal gya 🥰🥰🥰🥰🥰😘😘😘😘😘😘😘😘😘😘😘😘
plz provide source code(HTML,CSS) in proper way.
ОтветитьI try a lot of time but my css and js file are not set how can i set it please tell me
Ответить11th video is not available??
Ответитьye video smj ni ai 😢😢😢😢😭😭😭
ОтветитьError: Failed to lookup view "index" in views directory "E:\Express\src\views"
plese resolve this issue
this one was good
ОтветитьThanks 🙏
ОтветитьToday is 24 9 2022
ОтветитьThank you 😇
ОтветитьPlease I have a question, I have more than one collection which I want pass to my index page, please how can I do it
ОтветитьCss and js not working in index.hbs
Anyone Plz guide me
you make things very confusing🙄🙄🙄
ОтветитьErrorr : cannot find module hbs
ОтветитьHtml file is showing but style.css file is not implementing it is pure html
How add css file
Please Clear my doubt
Node/ExpressJS
In ExpressJS
Folder present: musicapp ,views,src
In music app index.html, style.css
in views: index.hbs code of musicapp html
in src: index.js
node\expressJS>node src/index.js
Thanks Bhai 😁
ОтветитьHow to use bootstrap in pug ??
Ответить