After setting up my project by installing Vue and Vite using the create-vite-app module, I decided to update all the packages generated by 'init vite-app' to the latest RC versions for both Vue and Vite.
Now, I am interested in using TypeScript for my code. To test it out, I added the attribute lang="ts" to the tag in HelloWorld.vue, and surprisingly it worked without any issues. However, I'm uncertain about how TypeScript is transpiled from a Vue file.
Next, I attempted to change the filename main.js to main.ts, but nothing seemed to happen. This got me thinking whether simply installing TypeScript would solve the issue.
Despite my confusion, I couldn't help but wonder why TypeScript was functioning within the Vue component (HelloWorld) while no JavaScript was being generated from the *.ts file.