Tired of creating a new ReactJS project from scratch? Even worse by using create-react-app? Well, this is the template for you! This template is a basic one using Babel, Webpack, React, React Dom, React Router Dom, SCSS, etc. I don't provide custom things, just a base template to replace create react app and to help react developers to use the latest packages.
These instructions will get you a copy of the project up and running on your local machine for development purposes.
- Git
Install Git for your system. Check that git is correctly installed by opening a Terminal and doing
git -v
.
- NodeJS
Install NodeJS (I recommend using Node Version Manager (Linux) or Node Version Manager (Windows)). Check that NodeJS & npm are correctly installed by opening a Terminal and doing
node -v
andnpm -v
.
# Clone the repository
git clone https://github.com/TheNolle/ReactJS-Template
# Enter the cloned repository
cd ReactJS-Template
- Open a terminal in the cloned repository
- Run the command
npm -v
to make sure [NodeJS] works there - Run
npm install
to install the dependencies
In the same terminal run this: npm run start
and enjoy. 🎉
The code is open source under the MIT License. However, if you want to use the code for your own projects, you must credit the original author.