A support react,vite,typescript,Eslint,jest,prettierrcWaiting for scaffolding

vite-react-cil

A supportreactvitetypescriptEslintjestprettierrcWaiting for scaffolding

✨ characteristic

  • Support Typescript
  • Support svg to preload all icons
  • Support multiple environment variables, dev, alpha, preprod, prod etc.
  • Support jest cell test
  • Support React, JSX, tsx, ts syntax
  • Support less, scss, css, module
  • Support Eslint, Prettier
  • Support HMR fast hot update
  • Support Proxy proxy, alias alias
  • Compatible with traditional browsers
  • Support lazy loading and chunk segmentation

Development

# Clone project
git clone https://github.com/lgf196/vite-react-cil.git

# Enter the project directory
cd vite-react-cil

# Installation dependencies
npm install

# Start service
npm run dev

other

Provides a way to get the current environment variables?method

Provides a component that can import svg only by svg name

Provide a project case of vite+react/vite+vue3/angular

Ecosphere

  1. ant-simple-proA build with vite, supportvue3.0reactangulartypescriptFront-end solutions for middle-end platforms supported by multiple frameworks
  2. jol-playerA simple, beautiful and powerful react player, supports typescript, m3u8 format
  3. ant-simple-drawAn online graphic editor, commonly used to express business processes, etc.

MIT

Copyright (c) 2021-present LiGuoFeng

GitHub

View Github