ES2015 / ES2017 with Babel + Node.js Tutorial - 2017

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

You just saved my life man. Thank you for this. Although, one little update is that you can now replace those es2015 and stage-2 presets with babel-preset-env. Also, you kind of have to install babel globally using $npm install -g babel-cli for some of these commands to work.

jayanths
Автор

Thank you very much for sharing this, as a backend developer that started learning JS I didn't know how to make use of Babel, but this was more than I was expecting!

MrJeeoSoft
Автор

It covers the essence of babel library, very succinct and helpful

yeorinimsida
Автор

Great video! Your instructional cadence really helped me maintain interest without feeling overwhelmed. You should keep making videos!

karolbuczek
Автор

"npm install -g babel-cli" need to be installed to run "babel" commands (on Windows)

yunusemreak
Автор

I've been following your tutorials and I say I'm glad I did...
You should have a title, "SENSEI"! - coz you're a great teacher.

vexjack
Автор

6:45 But how did you use `babel` directly in Terminal before you add it as `"babel": "babel"` of "scripts" inside the package.json? So you're using global babel?

王甯-hx
Автор

babel isnt recognized, what should i do?

PepeTostado
Автор

I just added this video to my 'LIVE SAVERS!!' playlist... Thanks Chief!

tolumideshopein
Автор

Why Babel Command Not found , ,, HELP ME T_T__T

hdm_vision
Автор

hi do you have the link for CLI, babel CLI that works with NodeJS 8.0...thank you

vincentcwli
Автор

whenever I try to use import i get an error:

Uncaught SyntaxError: Unexpected token import


import $ from 'jquery';

class SimpleSlider{
constructor(){

}
}

import SimpleSlider from './SimpleSlider'

var ok = new SimpleSlider();

ok();

not sure whats wrong.

HarpreetSingh-czzh
Автор

Awesome man, with this and 'jest' setup, i am good to go for developing my new API

MPrasanthkmCR
Автор

I am gettig this error-
babel : The term 'babel' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

sumeetsood
Автор

Which is the Atom theme you are using??

jordihumet
Автор

Great tut mate! Thank you alot, I really learned whole bunch of useful tricks from you

Patrk
Автор

anyone know how he got those file icons on his navbar for his editor?

jmack
Автор

Great tutorial, i would think of it like this..

"dev": "nodemon --exec babel-node ./server/bin/serve.js",


"prestart": "babel server --out-dir dist",
"start": "forever ./dist/bin/serve.js"

note that by default node is going to run prestart before start so all you need is to run npm run start.

khaledfares
Автор

Thanks. Exactly what I was looking for.

nicklebeezy
Автор

great work. basics. clean cut. i like it

ddaaggeett