IT
NX CLI 자주 사용하는 명령어 / nx 명령어
agnusdei1207
2023. 5. 16. 13:12
반응형
SMALL
"scripts": {
// 컴포넌트 생성 --type 을 지정하여 page, modal 등 사용 가능
"create:component": "npx nx g c --standalone --project client --standalone --style scss",
// 서버 실행
"dev:client": "npx nx serve --project client"
},
1. 자주 사용 할 cli 는 따로 명령어로 지정하도록 합니다.
npm run create:component
2. 사용 예시
npx nx run client:serve
3. 서버 실행
반응형
LIST