DEV Community

SUDHANSHU PAL B.TECH.
SUDHANSHU PAL B.TECH.

Posted on

npx create-vite@latest my-react-app --template react

i am not getting select options to select the framework, while implementing npm create vite@latest

Top comments (2)

Collapse
 
eusebiedev profile image
EusebieDev • Edited

Morning, by including the --template react flag in your command, you are in essence bypassing the interactive selection menu to choose a framework, you're telling Vite directly, "I want a React project," so your skipping the need for the menu. Hope this helps.
If you intend to use React, then the cmd is good. For framework selection, just use:
npm create vite@latest

Collapse
 
sudhanshu_palbtech_ad8 profile image
SUDHANSHU PAL B.TECH. • Edited

please help me if anyone knows any thing about that it will be delighted to get help fom you

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more