start home page and settings
This commit is contained in:
+12
-7
@@ -1,12 +1,17 @@
|
||||
import ConnectionModel from "./Model/connectionModel";
|
||||
import { HomePage } from "./View/homePage";
|
||||
import { MainPage } from "./View/mainPage";
|
||||
import { SetttingsModal } from "./View/setingsModal";
|
||||
import StorageModel from "./Model/storageModel";
|
||||
|
||||
// models
|
||||
const storageModel = new StorageModel();
|
||||
const connectionModel = new ConnectionModel({
|
||||
connectionChangeHandler() {
|
||||
|
||||
},
|
||||
messageHandler(data) {
|
||||
|
||||
},
|
||||
})
|
||||
connectionChangeHandler() {},
|
||||
messageHandler(data) {},
|
||||
});
|
||||
|
||||
// view
|
||||
document
|
||||
.querySelector("main")!
|
||||
.append(HomePage(), MainPage(), SetttingsModal());
|
||||
|
||||
Reference in New Issue
Block a user