init source
This commit is contained in:
8
composables/useOverlay.ts
Normal file
8
composables/useOverlay.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export default async function useOverlay() {
|
||||
if (import.meta.server) {
|
||||
// SSR에서는 cytoscape-overlays를 사용하지 않음
|
||||
return null
|
||||
}
|
||||
// 전체 export 객체를 반환
|
||||
return await import('cytoscape-overlays')
|
||||
}
|
Reference in New Issue
Block a user