Click on any topic to go there
- Prerequisites
- Cloning the Repository
- Installing Dependencies
- Running the Project
- Accessing the Project
- Repo Quick Start Command
- Highly Recommended
- Make sure you have Git installed on your system. You can download it from https://git-scm.com/downloads.
- Ensure you have Node.js and npm (Node Package Manager) installed. You can download them from https://nodejs.org/.
- Open your terminal or command prompt.
- Navigate to the directory where you want to store the project. You can use the
cd
command to change directories. For example,cd /path/to/your/folder
. - Run the following command to clone the repository:
git clone https://github.com/ikramuzzaman455173/react-typescript-tailwind-redux-starter-template.git
This will download the project to your local machine.
- Change your working directory to the cloned project's directory:
cd react-typescript-tailwind-redux-starter-template
- Use npm to install the project's dependencies, which are typically listed in a
package.json
file:
npm install
- Once the dependencies are installed, you can start the project. The README in the repository should provide information on how to run the project. Common commands are
npm start
,npm run dev
, ornpm run build
.
For example:
npm run dev
- Open a web browser and visit the URL where the project is running. The README should specify the address (e.g.,
http://localhost:5173
).
To quickly clone, install dependencies, open the project in your code editor, and start the development server, you can use the following command:
git clone https://github.com/ikramuzzaman455173/react-typescript-tailwind-redux-starter-template.git && cd react-typescript-tailwind-redux-starter-template && npm install && code . && npm run dev
This project when install & open first show one simaple & amazing counter. But you are open layout part copy & paste this code our main.tsx file or app component comment out and other comment commonent code uncomment.
import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App.tsx";
import "./index.css";
import { Provider } from "react-redux";
import { store } from "./redux/store.ts";
import { RouterProvider } from "react-router-dom";
import router from "./routes/Routes.tsx";
ReactDOM.createRoot(document.getElementById("root")!).render(
<React.StrictMode>
<Provider store={store}>
<RouterProvider router={router} />
{/* <App /> */}
</Provider>
</React.StrictMode>
);