Skip to content

iaseth/rex

Repository files navigation

vite-react-ts-starter

This is the template I use to get up and running with a new React App in 2023. It was created with Vite with the following command:

npm create vite@latest vite-react-ts-starter -- --template react-ts

I am using readmix for generating this README. You can view the source file here.

Table of contents

Getting Started

  • Clone the repository and cd into it:
    git clone https://github.com/iaseth/vite-react-ts-starter.git
    
    cd vite-react-ts-starter
    
  • Delete the .git directory and do git init for a fresh start:
    rm -r .git
    
    git init
    
  • Install all dependencies with the following command:
    npm install
    
  • Now you can run the dev server with:
    npm run dev
    
    This will start running a development server at http://localhost:5173/.
  • To build the project:
    npm run build
    
    This will build your project into dist directory.

Package details

Name Value
Name rex
Version 0.0.0
Dependencies 3

Dependencies

Package Version
1 react ^18.2.0
2 react-dom ^18.2.0
3 timenames ^1.0.0

Dev dependencies

Package Version
1 @types/react ^18.2.37
2 @types/react-dom ^18.2.15
3 @typescript-eslint/eslint-plugin ^6.10.0
4 @typescript-eslint/parser ^6.10.0
5 @vitejs/plugin-react ^4.2.0
6 autoprefixer ^10.4.16
7 eslint ^8.53.0
8 eslint-plugin-react-hooks ^4.6.0
9 eslint-plugin-react-refresh ^0.4.4
10 postcss ^8.4.31
11 tailwindcss ^3.3.5
12 typescript ^5.2.2
13 vite ^5.0.0

License

MIT License

Copyright (c) Ankur Seth.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Credit

This file was generated using readmix.