How to import function from dynamically named directory

前端 未结 0 1704
名媛妹妹
名媛妹妹 2021-01-31 10:59

Hi I am building next js app where I have folder structure like pages [state_name] [city_name].js

I have added one method inside [city_name].js file,how can I import that

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