Skip to content

taikongfeizhu/vite-ts-mobx-react-lite

Repository files navigation

vite-ts-mobx-react-lite

This template augments npm init @vitejs/app app -- --template react-ts with: a vite+react+mobx startkit

only-allow yarn preinstall script. eslint properly configured for vite, along with prettier. @ and ~/public aliases, mapping to ./src and ./public respectively. tailwindcss and autoprefixer.

Includes

https://github.com/taikongfeizhu/vite-ts-mobx-react-lite

  • Vite
  • TypeScript
  • React
  • React-Router
  • Antd
  • Mobx
  • Mobx-react-lite
  • Axios
  • ESlint
  • Stylelint
  • Lint-staged
  • Prettier
  • Husky
  • Autoprefixer
  • Tailwindcss
  • Postcss
  • Less
  • tsyringe
  • Mock

Install and use

  • Get the project code
git clone https://github.com/taikongfeizhu/vite-ts-mobx-react-lite.git
  • Installation dependencies
cd vite-react-app
yarn install
  • run
yarn dev
  • build
yarn build:release