Setup¶
In this tutorial we will build upon the work from the first React tutorial. Copy the week10
directory to the week12
directory. Then, in the week11
directory, delete the node_modules
directory. Next, update the package.json
so that the package name is “week12”:
{
"name": "week11",
"version": "1.0.0",
"description": "",
...
}
Then run
$ yarn
to correctly re-install all dependencies.
Test that the application works by starting the build server
$ yarn webpack-dev-server --config webpack.conf.js