Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dynamic image import hook #16

Open
cla6shade opened this issue Sep 5, 2024 · 0 comments
Open

dynamic image import hook #16

cla6shade opened this issue Sep 5, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@cla6shade
Copy link
Member

문제/이슈

gallery section과 activity section 등 많은 이미지를 일일이 불러오려면 이미지 개수만큼 import문을 작성해야 합니다.

해결책 제시

useImages({ pattern: string }) 라는 훅을 통해 특정 경로의 에셋을 동적으로 임포트하는 기능을 만들고자 합니다. 구현체는 여기를 참조해주세요.

@cla6shade cla6shade added the enhancement New feature or request label Sep 5, 2024
@cla6shade cla6shade self-assigned this Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant