NODEJS에서 react spring 테스트
NPM 설치 후 아래의 설치
1)react app 패키지 설치
github.com/facebook/create-react-app
facebook/create-react-app
Set up a modern web app by running one command. Contribute to facebook/create-react-app development by creating an account on GitHub.
github.com
2)react-spring 패키지 설치
github.com/pmndrs/react-spring
pmndrs/react-spring
✌️ A spring physics based React animation library. Contribute to pmndrs/react-spring development by creating an account on GitHub.
github.com
3)react spring example을 적용해서 App.js에 수정
리액트 스프링 관련
www.react-spring.io/docs/hooks/use-spring
react-spring
Bring your components to life with simple spring animation primitives for React
www.react-spring.io
www.react-spring.io/docs/hooks/examples
react-spring
Bring your components to life with simple spring animation primitives for React
www.react-spring.io
4)npm run build로 컴파일
5)npm start로 로컬서버 실행시킴