The MERN Nexus

The MERN Nexus MERN stack web developer

Installation and set up of typescript project. At first create a folder and open it from "VS code editor". Then open the...
07/05/2023

Installation and set up of typescript project. At first create a folder and open it from "VS code editor". Then open the terminal and
follow these commands:
1. tsc --init
2. npm init -y
3. npm i -D nodemon
4. npm i ts-node-dev
5. Then make src folder and go to tsconfig file. Search "rootDir" uncomment it and change it to ./src. According this also change "outDir" to .dist. Make sure that create a "dist" folder.
6. Go to package.json file and in the script write this command : "start": "ts-node-dev --respawn --transpile-only index.ts";

After do these you project will ready to run. The run comman is : npx ts-node-dev --respawn src/filename.ts

06/05/2023

Hi, Welcome to my page!
In this page I will post about programming and also upload teaching video.

Address

Gazipur
1754

Alerts

Be the first to know and let us send you an email when The MERN Nexus posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to The MERN Nexus:

Share

Category