How to convert a require into vue and what is it actually doing?

后端 未结 0 1761
半阙折子戏
半阙折子戏 2020-12-18 05:25

Consider

const SDK = require(\'hyper-sdk\')

A lot of posts seems to say this should be converted to

import SDK from \'hyper-sd         


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