![Full-Stack React Projects](https://wfqqreader-1252317822.image.myqcloud.com/cover/866/36699866/b_36699866.jpg)
上QQ阅读APP看书,第一时间看更新
Babel
For compiling React, first install the Babel React preset module as a development dependency:
npm install babel-preset-react --save-dev
Then, update .babelrc to include the module and also configure the react-hot-loader Babel plugin as required for the react-hot-loader module.
mern-skeleton/.babelrc:
{
"presets": [
"env",
"stage-2",
"react"
],
"plugins": [
"react-hot-loader/babel"
]
}