반응형
1. npm install -g @enact/cli
2. enact template install @enact/template-webostv
3. enact create -t webostv [directory]
https://enactjs.com/docs/tutorials/setup/
https://enactjs.com/docs/tutorials/setup/
Enact provides a handy command-line tool (the Enact CLI) that makes it easy to get started. Before the Enact framework can function on your computer, it is necessary to install some software. The most important piece is the Node JavaScript runtime version
enactjs.com
순수 React에서 build해서 Enact 프레임을 써봤는데, 해당 방식은 구현이 불가능했다.
React의 동일한 구조를 Enact로 옮겨서 하는 건 가능해서 해당 부분으로 구현 성공.
728x90
'취업 > LG webOS' 카테고리의 다른 글
| [LG] 스탠바이미 WebOS 버전 체크 (0) | 2023.04.25 |
|---|---|
| [webOS] React Router dom 중에서 tv에선 BrowserRouter 작동안됨 (1) | 2022.12.30 |
| [webOS] LG webOS22 시뮬레이터 리눅스세팅 CLI방법 (0) | 2022.11.30 |
| [webOS] LG Desktop 시뮬레이터(Simulator) 기본 세팅 Window CLI 방법 (1) | 2022.11.30 |