Project: vite
Task (moderate): Add `import VueComponent from './component.vue';` in `src/index.js`.
Mount VueComponent in `src/index.js`.

Add `import ReactComponent from './component.jsx'` in `src/index.js`.
Mount ReactComponent in `src/index.js`.

DO NOT use jsx syntax.

Also help me update other files in this project to ensure `dev` and `build` commands won't throw errors after doing that.