# why-react **Repository Path**: feiyoulian/why-react ## Basic Information - **Project Name**: why-react - **Description**: vite + react +ts - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-19 - **Last Updated**: 2021-08-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ```sh yarn create vite vite-react --template react-ts yarn yarn dev yarn add less yarn add eslint -D # √ How would you like to use ESLint? · problems # √ What type of modules does your project use? · esm # √ Which framework does your project use? · react # √ Does your project use TypeScript? · No / Yes # √ Where does your code run? · browser # √ What format do you want your config file to be in? · JavaScript # The config that you've selected requires the following dependencies: # eslint-plugin-react@latest @typescript-eslint/eslint-plugin@latest @typescript-eslint/parser@latest # √ Would you like to install them now with npm? · No / Yes npx eslint --init # npm install eslint-plugin-react@latest --save-dev 替换 yarn add eslint-plugin-react@latest -D yarn add prettier -D yarn add stylelint stylelint-config-standard -D ```