export 'default' (imported as 'Amplify') was not found in 'aws-amplify'

1

Get error after update export 'default' (imported as 'Amplify') was not found in 'aws-amplify'. Coud anyone suggest something?

已提问 1 年前2283 查看次数
1 回答
0

Amplify as a default export is deprecated and you would need to import it as a named export

import { Amplify } from ‘aws-amplify’

Could you please ensure that you are using the above correct syntax for the import ?

AWS
支持工程师
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则