Currently, I am working on a Next.js project where all the files have the extension .tsx
(TypeScript). Although TypeScript is similar to Java, I prefer to have the file ending as .js
. I attempted to modify the command (
npx create-next-app -e with-tailwindcss my-project
) by including --js
at the end, but unfortunately, it did not have the desired effect. I then tried to manually change the file extensions in the existing project, resulting in numerous errors. I am wondering if there is a way to achieve this without encountering issues. Any advice or suggestions would be greatly appreciated. Thank you.