ADO2 콘텐츠, 상세 페이지 및 검색, 좋아요, 댓글, 공유하기 기능 추가
This commit is contained in:
1 parent
f3195628d2
commit
0ea14da748
23 files changed
+2630
-301
No files matched your search
@@ -4,6 +4,17 @@ import ReactDOM from 'react-dom/client';
|
||||
import './i18n';
|
||||
import App from './App';
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
Kakao: any;
|
||||
}
|
||||
}
|
||||
|
||||
const kakaoKey = import.meta.env.VITE_KAKAO_JS_KEY as string | undefined;
|
||||
if (kakaoKey && window.Kakao && !window.Kakao.isInitialized()) {
|
||||
window.Kakao.init(kakaoKey);
|
||||
}
|
||||
|
||||
const rootElement = document.getElementById('root');
|
||||
if (!rootElement) {
|
||||
throw new Error("Could not find root element to mount to");
|
||||
|
||||
Reference in new issue
Block a user