vite处理react

对jsx开箱即用

注意设置 tsconfig compilerOptions.jsx='react-jsx'

使用 @vitejs/plugin-react 插件做react项目热更新,否则vite默认是文件改动全部重新编译。