Nikatlas 5 years ago
parent
commit
d62ffb121d
2 changed files with 10 additions and 0 deletions
  1. 0 0
      dist/lib/systems/CoreSystem.js
  2. 10 0
      lib/systems/CoreSystem.js

File diff suppressed because it is too large
+ 0 - 0
dist/lib/systems/CoreSystem.js


+ 10 - 0
lib/systems/CoreSystem.js

@@ -21,6 +21,16 @@ export default class CoreSystem {
 		this._onUpdate && this._onUpdate();
 	}
 
+	fresh() {
+		this.Routing = new RoutingSystem();
+		this.ModuleSystem = new ModuleSystem();
+		this.EventSystem = new EventSystem();
+		this.ViewSystem    = new ViewSystem(this);
+		let HomeView = new View();
+		this.addPage('Home', HomeView, 'VSHome').setHome('Home');
+		this.__loadModules(Modules);
+	}
+
 	loadFonts(){
 		Font.loadAsync({
 	      'black': require('../assets/fonts/SFCompactDisplay-Black_0.otf'),

Some files were not shown because too many files changed in this diff