I have two classes
 class Page1 {
   get abc()  { return $('.btn.success'); }
 }
 export default new Page1();   
and another class
 export default class Page2  {
     function abc() {
     }
  }
And when I import the 2 classes, what should be used. It throws error when I try
`import { Page1} from './page1'`
but works when I try
`import Page1 from './page1'`
But for the other class, when I try
`import Page2 from './page2'`
It throws error and works when I try
 `import {Page2} from './page2'`
What is the difference? TIA