λ°μν
ERROR in ./frontend/public/js/handle.js 10:0-31
export 'default' (reexported as 'Feeds') was not found in './feeds.js' (possible exports: Feeds)
webpack 5.72.0 compiled with 1 error in 112 ms
μΉν©μμ ν΄λμ€λ₯Ό μν¬νΈ ν λ μμ κ°μ μλ¬κ° λ° μ μμ΅λλ€. μ΄λ μν¬νΈ ν ν΄λμ€λ₯Ό export default classλ‘ μ€μ ν΄μ£Όμλ©΄ μλ¬κ° ν΄κ²°λ©λλ€.
β μλ¬ μ½λ
export class Feeds {
constructor(token) {
this.token = token
}
...
}
π μμ μ½λ
export default class Feeds {
constructor(token) {
this.token = token
}
}
κ°μ¬ν©λλ€.
λ°μν