App Config
Parameter
What For
Setting the Start URL
// myapp.js
import "./styles/app.css";
import {JetApp, EmptyRouter, HashRouter } from "webix-jet";
export default class MyApp extends JetApp{
constructor(config){
const defaults = {
router: BUILD_AS_MODULE ? EmptyRouter : HashRouter,
debug: !PRODUCTION,
start: "/top/layout" // !
};
super({ ...defaults, ...config });
}
}
if (!BUILD_AS_MODULE){
webix.ready(() => new MyApp().render() );
}Debugging
Choosing a Router
Changing View Creation Logic
Custom Logic of Creating Views
Beautifying the URL
Various App Parameters
Adding Stylesheets
Footnotes
[1]:
[2]:
Last updated