I am trying to import 2 components from the components
folder. Both components’ class are export default
.
However, I got an error message that I should use the curly braces in my import statement. However, both components above are not using named export
so curly braces is not needed when importing them.
How can I make this work?