Open xiaodanlee opened 6 years ago
export default class Layout { constructor(test){ this.test = test; this.foo = 'console.log("S");'; }
display(){ return (`
`); }
}
另一个文件 import App from '../layout/main.js';
let app = new App("test");
export default class Layout { constructor(test){ this.test = test; this.foo = 'console.log("S");'; }
display(){ return (`
`); }
}
另一个文件 import App from '../layout/main.js';
let app = new App("test");