Plant the seed of your project with ViteSeed, a fast and solid foundation for your development in React JS.
- Introduction
- Features
- Getting Started
- Scripts
- Project Structure
- Dependencies
- DevDependencies
- Browser Compatibility
- Contributing
- License
viteseed-react is a starter template to kickstart your React project with Vite, TypeScript, and other essential tools. It provides a solid foundation to build modern web applications with ease and speed.
- Vite: Super fast build tool and dev server.
- React: A JavaScript library for building user interfaces.
- TypeScript: Strongly typed programming language that builds on JavaScript.
- Sass: CSS pre-processor for better styling management.
- Vite Plugin Checker: For TypeScript and VLS error checking.
- Vitest: For unit testing and more.
- Legacy Browser Support: Compatibility with older browsers using
@vitejs/plugin-legacy.
To get started with viteseed-react, clone the repository and install the dependencies:
git clone https://github.com/gabrielpretel/viteseed-react.git
cd viteseed-react
npm installTo start the development server, run:
npm run startThe application will be available at http://localhost:1080.
To build the project for production, run:
npm run buildThe build output will be in the dist directory.
To preview the production build, run:
npm run previewThe preview server will be available at http://localhost:1081.
To perform type checking, run:
npm run type-checkstart: Starts the development server.build: Builds the project for production.preview: Previews the production build.type-check: Checks the TypeScript types.prebuild: Runs type-check before building.test: Init testing from vitest.
viteseed-react/
├── node_modules/
├── public/
├── src/
│ ├── assets/
│ ├── components/
│ ├── App.tsx
│ ├── index.tsx
├── .gitignore
├── index.html
├── package.json
├── README.md
├── tsconfig.json
├── vite.config.ts
react: ^18.3.1react-dom: ^18.3.1vitest: ^2.0.4
@types/node: ^22.0.0@types/react: ^18.3.3@types/react-dom: ^18.3.0sass: ^1.77.8typescript: ^5.5.4vite: ^5.3.5vite-plugin-checker: ^0.7.2
To ensure compatibility with older browsers, ViteSeed uses the @vitejs/plugin-legacy plugin. This plugin adds support for legacy browsers by transpiling the necessary JavaScript code.
Contributions are welcome! If you find any bugs or have any suggestions, please open an issue on the GitHub repository.
This project is licensed under the ISC License.