Skip to content

sylvianguy/webpack-react-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting started

  1. Fork this repository to your own Github account. You can use this boilerplate for future projects as well, so keep it around!
  2. Clone your version of the repository to your local machine.
  3. Once you have the code locally, run npm install to install all the dependencies for this project.
  4. Tell React to render something. Open entry.js, and modify the line with ReactDOM.render to the following:
    ReactDOM.render(<h1>Hello, world!</h1>, document.getElementById('placeholder'));
  1. We'll need to install a server to get things running. Type npm install webpack-dev-server -g into your terminal.
  2. Run webpack-dev-server to start your application.
  3. Success! You can view your app at http://localhost:8080/webpack-dev-server/index.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.1%
  • HTML 23.9%