I want to initialize a vite with react project so that it uses vite v2, not v3. I am trying the following command where "2.9.5" is the most recent v2 version of the create-vite util(https://www.npmjs.com/package/create-vite/v/2.9.5) but it does not work as expected and the resulting app has vite 3.1.0 in dependencies. How to fix it? Also, how to do it with yarn?
npm init [email protected] vite2app -- --template react