Skip to content

Instantly share code, notes, and snippets.

@GOJAx64
Last active September 16, 2022 03:29
Show Gist options
  • Save GOJAx64/ac7c9df21465e2bedb5e688f4de5793b to your computer and use it in GitHub Desktop.
Save GOJAx64/ac7c9df21465e2bedb5e688f4de5793b to your computer and use it in GitHub Desktop.
Comands to create a react-ts project

First you need to install

Node JS

Prove it

Install yarn with

npm install --global yarn

Prove it

yarn --version

Yarn

Vite

Getting Started with Vite

Create a React Project with TS and vite

yarn create vite

Write the name of the project, select the framework 'react' and the variant 'react-ts'

And finally

cd project
yarn
yarn dev

Done!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment