Nextjs dynamic function import (not component)

前端 未结 0 1752
广开言路
广开言路 2021-01-03 02:22

I\'m working in a nextjs app. I\'d like to dynamically import a function dependent on the path that\'s provided as a prop to a component. Today, I use a map of id

相关标签:
回答
  • 消灭零回复
提交回复
热议问题