yarn을 이용해 vite react-ts tailwind 설치
yarn 설치
1
npm install -g yarn
create react
1
yarn global add create-react-app
warning create-react-app > tar-pack > tar@2.2.2: This version of tar is no longer supported, and will not receive security updates. Please upgrade asap.
해결
1
npm install tar@6 -g
yarn vite
해깔려서 기록
npm install --global yarn vite
yarn create vite [프로젝트 이름] --template react-ts
yarn install
yarn add -D eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser
yarn add -D eslint-config-airbnb-base eslint-plugin-import
yarn add -D prettier
yarn add -D tailwindcss postcss autoprefixer
yarn add react-router-dom
yarn dev
로 실행
This post is licensed under CC BY 4.0 by the author.