![업로드중..]()
워크스페이스 설치
npx create-nx-workspace
추가세팅
npm install --save-dev @nx/next
nx g @nx/react:setup-tailwind
프로젝트/라이브러리 명령어
'주의 : 라이브러리 생성해서 app에 넣으면 바로 읽지못함 app 재실행필요.'
npx nx g @nx/react:app prname --directory=apps/prname
npx nx g @nx/next:app prname
npx nx g @nx/react:library products --directory=libs/products --unitTestRunner=vitest --bundler=none
npx nx g @nx/react:library shared-ui --directory=libs/shared/ui --unitTestRunner=vitest --bundler=none
npx nx g @nx/next:library nextUI --directory=libs/nextUI --unitTestRunner=vitest --bundler=none
npx nx serve prname
npx nx generate @nx/workspace:remove --projectName=prname
npx nx build prname