Skip to content

Youngermaster/react-shadcn-ui-template

Repository files navigation

React Shadcn-UI Template

This repository provides a boilerplate template for a React application using the Shadcn-UI library and Vite as the build tool and development server. The template is designed to help you kickstart your React projects with Shadcn-UI and Vite, offering a fast development environment and optimized production builds.

Features

  • React 18 with the latest features and optimizations
  • Shadcn-UI integration for a modern and customizable UI component library
  • Vite for fast development and optimized production builds
  • ESLint and Prettier preconfigured for consistent code formatting and linting

Getting Started

  1. Clone this repository:

    git clone https://github.com/Youngermaster/react-shadcn-ui-template.git your-project-name
  2. Change to the project directory:

    cd your-project-name
  3. Install the dependencies:

    npm install
  4. Start the development server:

    npm run dev

    The development server should now be running at http://localhost:3000.

Building for Production

To create an optimized production build, run:

npm run build

The output will be available in the dist/ folder.

Customizing the Template

You can customize the template by modifying the existing components or adding new ones in the src folder. You can also configure the Vite settings by editing the vite.config.js file.

For more information on Shadcn-UI, please refer to the official documentation.

Contributing

Contributions are welcome! If you have any suggestions, improvements, or bug fixes, please feel free to submit a pull request or create an issue.

License

This project is licensed under the MIT License.

About

Boilerplate template for a React application using the Shadcn-UI library and Vite.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published