Languages
[Edit]
EN

React - create new TypeScript application

6 points
Created by:
Dollie-Rutledge
806

In this short article, we would like to show how in simple way create React TypeScript application from command line using npm.

Quick solution (run the command):

Where: my-new-app is the project name and directory that will be created.

Note: be sure the React is installed or install it with npm install -g react.

 

Application running

Edit

After application is created, should do the following steps to run the application:

1. Change working directory to the application directory:

2. Start the application using the command:

 

yarn package manager

Edit

We can use yarn package manager, too:

 

See also

Edit
  1. React - create new JavaScript application

References

Edit
  1. Adding TypeScript - React Docs

Alternative titles

  1. React - create new TypeScript app
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.
Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join