@tassilo/boiling-react
v1.0.6
Published
Boilerplate code for React.
Downloads
17
Readme
boiling-react
Boilerplate code for React.
Installation
npm install @tassilo/boiling-react
Usage
YourApplication.ts
import {Application, Route} from "@tassilo/boiling-react";
export class YourApplication extends Application {
public constructor() {
super("YourApplication", "1.0.0");
}
public LoadRoutes(): Route[] {
return [];
}
}
index.ts
// Imports
import {App, Initialize} from "@tassilo/boiling-react";
import {YourApplication} from "./YourApplication";
// Initialize
App.SetApplication(new YourApplication());
Initialize().then().catch(console.error);