This is a minimal web application setup using React, Tailwind CSS, and shadcn-ui components. You can use this as a starting point to build your application.
src/
: Contains the source code of the application.pages/
: Contains the page components.components/
: Contains reusable UI components.App.jsx
: The main application component.index.css
: The main CSS file.main.jsx
: The entry point of the application.
public/
: Contains public assets like images and icons.README.md
: This file.
- Node.js (v14 or higher)
- npm or yarn
-
Clone the repository:
git clone <repository-url> cd <repository-directory>
-
Install the dependencies:
npm install # or yarn install
To start the development server, run:
npm run dev
# or
yarn dev
The application will be available at http:https://localhost:3000
.
To build the application for production, run:
npm run build
# or
yarn build
The built files will be in the dist/
directory.
- To add new pages, create a new file in the
src/pages/
directory and add a new route insrc/App.jsx
. - To add new components, create a new file in the
src/components/
directory and import it where needed. - To modify styles, edit the
src/index.css
file or add new CSS files as needed.
Happy coding!