Search Docs
최근 가장 많이 활용되는 React 환경을 기준으로 소개합니다.
npm install @vrism/viewer-sdk
import { VrismViewer } from '@vrism/viewer-sdk'; function App() { return ( <div style={{ width: '100%', height: '500px' }}> <VrismViewer token="your-token-here" contentId="your-content-id" /> </div> ); }
<VrismViewer token="your-token-here" contentId="your-content-id" ui={{ viewerBackgroundColor: '#f8f9fa', gestureGuide: true, fullscreenButton: true }} camera={{ autoRotation: -2 }} />
🎉 완료! 이제 3D 뷰어가 작동합니다.