Use const foo = require(bar) in a react component?

前端 未结 0 1701
离开以前
离开以前 2021-01-17 14:00

I wish to use this "https://www.npmjs.com/package/@vitalets/google-translate-api" library in React but the the instructions say I need to "const translate = r

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