關鍵字 difference between default exports and named exports
// b.js
import { A } from './a.js'
// 代表 A 是有指定的:在 a.js 裡面有 export const a

import A from './a.js
// 代表 A 是默認的:在 a.js 裡面是 export default someValue
Show your support

Clapping shows how much you appreciated Zuray’s story.