Babel is a JavaScript compiler which makes you capable to use next generation JavaScript today.
This article tells you how to install babel
syntax plugin on Sublime Text.
- Open Sublime Text
- Press
command + shift + p
- Type
install
and pressenter
key - Type and search for
babel
- Select
babel
and install - Set
.js
and.jsx
extensions asJavaScript (Babel)
For how to setup ReactJs
development environment with Sublime Text, pleas refer here.
网友评论