This is the default Vue 2 + vue-cli template created with : vue create helloword
then adapted to be used with Vite.
Looking at commit f4099919, you can see differences.
This template should help you to better understand what is strictly needed to make work Vue 2 with Vite. This could help you to migrate your Vue 2 application from vue-cli to Vite.