This is a starting template for a React projet using Tailwind, built with Webpack.
- Clone the project.
- Execute
npm install
. - Copy-paste the
.env-template
file and rename it.env
. - Edit the
APP_ROOT
variable with the path to the project root. You can also edit the port if needed.
For example, if your project is located in /my-projects/react
, APP_ROOT
will be :
APP_ROOT=/my-projects/react
- Execute
npm run serve
. - This page will open in your browser : http://localhost:4000.
Here, 4000
is the port specified in the .env
file. If you changed it, also change it in the URL.
You can start coding in the /src
folder !