Setup
Learn how to complete the setup for the boilerplate.
First, let’s clean up the starter project, so you have a clean slate to follow along with the instructions in this chapter.
First, remove all content from the index.js
file. Then change the index.html
file to the simple version below, removing all unnecessary code from the body
section:
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>The Complete Redux Course - Example Application</title>
</head>
<body>
<div>
The Complete Redux Course - Example Application
</div>
<div id="app"></div>
<script type="text/javascript" src="index.js"></script>
</body>
</html>
The only div
will be our mounting point
to the single-page application. This is where we will programmatically initiate and update our UI using jQuery
.
You’re ready! Run the following to start the application.
npm start
Get hands-on with 1400+ tech skills courses.