When you edit a file in the Express project, you should restart your server to refresh. I think that using 'nodemon' might be a good choice, for it can automatically reload your server after editing a file. Simply install it by:" npm install -g nodemon". For use: "nodemon /bin/www" instead of "node /bin/www".
Thanks a lot for this tutorial. I have been looking for a tutorial like this for a long time. Although I'm having quite a bit of problems regarding the sound issue, I had to borrow an extra sound card from my friend. Other than the sound, it's excellent, just as I wanted it to be. Thanks.
Yes I know, the sound is really bad, I apologize for that. It only affects a few videos thankfully. I'm happy that you're still able to learn something from it :)
I am your huge fan- I Love the way you teach and I am always able to understand the concepts that you teach- I have taken up your Course on Angular 9 on Udemy And it is simply awesome and I recommend it to my friends.....!!!!! Thanks a ton.....!!!!! 🌸
Thanks! Clear and to-the-point explanation! May I ask you to extend its title with PugJS so new people unaware its previous name, could find it easier? :)
almost there, you wrote "formerly PugJS", but it's actually PugJS now and used to be called Jade :) thanks! ps.: pugjs.org/api/getting-started.html jade-lang.com redirects here
How can I solve below Problem? block content 4| h1= message > 5| h2= error.status 6| pre #{error.stack} '"" link is self closing and should not have content." I checked whether there is any whitespace or not?
Thanks for the suggestion. Got not plans for the very near future but I'll certainly create more content on Nodejs in the future. So why not also on that
@Academind Academind (I am trying to mention u lol) Thanks a lot for this tutorial. One thing I need to know ,How can we use Normal HTML (No template Engine) with express ?
I'm sorry, this is an older video, therefore the audio and video quality was not perfect. If you have a look at more recent videos, you should definitely hear and see an improvement :)
Thanks for your feedback - I'm really sorry about that. I know that the sound is suboptimal in this video - that happened because my old mic broke right before this recording. Fortunately, it is like this only for a couple of videos.
Sorry Bastien, it's an older video and my equipment wasn't the best back then. In the more recent videos both audio and video quality improved a lot. Feel free to have a look :)
When you edit a file in the Express project, you should restart your server to refresh. I think that using 'nodemon' might be a good choice, for it can automatically reload your server after editing a file.
Simply install it by:" npm install -g nodemon".
For use: "nodemon /bin/www" instead of "node /bin/www".
Second that. Fact: nodemon will make your life easier
Thanks a lot for this tutorial. I have been looking for a tutorial like this for a long time. Although I'm having quite a bit of problems regarding the sound issue, I had to borrow an extra sound card from my friend. Other than the sound, it's excellent, just as I wanted it to be. Thanks.
Yes I know, the sound is really bad, I apologize for that. It only affects a few videos thankfully. I'm happy that you're still able to learn something from it :)
I love your face. And this is not like a double-meaning statement; I really do like your face.
me too
I am your huge fan- I Love the way you teach and I am always able to understand the concepts that you teach- I have taken up your Course on Angular 9 on Udemy And it is simply awesome and I recommend it to my friends.....!!!!! Thanks a ton.....!!!!! 🌸
Wow, thank you!
thanks for that better explanation i've been looking for this,thank u very much
That's so awesome to read, thank you for your comment and great to read that the video was helpful :)
Thanks dude, very easy to learn with you.
+Pedro Lugo
Many, many thanks Pedro!
Thanks! Clear and to-the-point explanation! May I ask you to extend its title with PugJS so new people unaware its previous name, could find it easier? :)
Great to hear and thanks for the suggestion - I'll add that!
almost there, you wrote "formerly PugJS", but it's actually PugJS now and used to be called Jade :) thanks!
ps.: pugjs.org/api/getting-started.html
jade-lang.com redirects here
Oh man ... my bad - meant to do it the other way round ... thanks for notifying me ;)
I like your video very much. :D But why dont you use EJS first, for beginners it might be easier to learn :D
Cool video. Thanks!
Do Jade has something like "include" in Smarty?
Yes, it has includes (pugjs.org/language/includes.html), blocks (pugjs.org/language/inheritance.html) and mixins (pugjs.org/language/mixins.html)
Fantastic! any other videos you made on Jade (now named Pug)?
Thanks for your great feedback! No, this is the only one as of now.
How can I solve below Problem?
block content
4| h1= message
> 5| h2= error.status
6| pre #{error.stack}
'"" link is self closing and should not have content."
I checked whether there is any whitespace or not?
You are my mentor !
Very nice tutorial. what IDE are you using?
nvm got it :D
What IDE is it?
I'm using Webstorm by Jetbrains :)
Hi, Max! What about EJS templates? Maybe a little video on that? Thanks!
Thanks for the suggestion. Got not plans for the very near future but I'll certainly create more content on Nodejs in the future. So why not also on that
I +1 that! EJS is awesome and would love a video on that :)
Where can I find the generated (from Jade) HTML files?
While am using router.get() in index.js, it's giving an error in server that is cannot read property 'get' of undefined...
can anybody help me out?
module.exports = router; at the bottom of the page
can you use bootstrap with pugJS??
@Academind Academind (I am trying to mention u lol) Thanks a lot for this tutorial. One thing I need to know ,How can we use Normal HTML (No template Engine) with express ?
Happy to hear you're liking it! Please see: codeforgeek.com/2015/01/render-html-file-expressjs/
Thanks a lot....
why it says:
input is a self closing element: but contains nested content.
when i run it???
Maybe because you use input like this?
Some stuff? You shouldn't!
Thank you. It's because I put a space like this
input (type="text") When it should have been
input(type="text")
that's such an awesome Idea
Thank you, great to read that :)
jade files are not showing in my view directory.
Do I use .html file instead of .Jade file ??
Thanks for lesson! Couldn't you please commit the lessons sources to the repo? Thanks in advance! =)
+Artur Daveyan
Ah, forgot it again ... sorry, I now committed it.
what is editor that you have used ?
I use Webstorm by Jetbrains.
Jade seems a bit confusing to me, is there any way or anything as "html engine" to avoid jade ?
Yes, there are options - I do present some of them in this series, too.
ejs
how to use node modules in pug/jade template
Haha you look like Seth Rogen :D
Heard this before :D Fun fact: I didn't even know him before I started making these videos ;-)
Even his Voice :)
This template engine look so messed up isn't there any alternatives
Sure, just check out the other videos in this playlist ;)
install nodemon instead of restarting the server everytime x)
in other tutorial he don't want to do it, see another node js vide u will find it hahaa, why
how to install nodemon ?can you please give the instructions over here>
Inside your project folder: npm install nodemon -g
Sir U r Good
Cool, huh!
Fix the audio levels!
I'm sorry, this is an older video, therefore the audio and video quality was not perfect. If you have a look at more recent videos, you should definitely hear and see an improvement :)
great content but the audio is driving me mad man...
The video is a bit older, the newer videos have better audio and video ;)
Sound is awful but what to do :)
Хера себе... Это вообще законно?!
sound is too quite...
Thanks for your feedback - I'm really sorry about that. I know that the sound is suboptimal in this video - that happened because my old mic broke right before this recording. Fortunately, it is like this only for a couple of videos.
also you do an awesome job on your content. :)
Many, many thanks - that's really great to hear! :)
The audio quality is so poor, I gave up after 30 seconds. Shame.
Jesus Christ what a mess web development turned out to be.
Dude, buy a micro please
Sorry Bastien, it's an older video and my equipment wasn't the best back then. In the more recent videos both audio and video quality improved a lot. Feel free to have a look :)