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 viteyarn create vite [프로젝트 이름] --template react-tsyarn installyarn add -D eslint @typescript-eslint/eslint-plugin @typescript-eslint/parseryarn add -D eslint-config-airbnb-base eslint-plugin-importyarn add -D prettieryarn add -D tailwindcss postcss autoprefixeryarn add react-router-domyarn dev로 실행
This post is licensed under CC BY 4.0 by the author.