Use app as module

edited July 10 in General

Hello
I have a Jet-Start application, compiled with the module option (npm run module).
Now I intend to integrate this module in the final application. Following the documentation at Modules and Large App Development, jet-book, I wrote the following:

import {JetView} from "webix-jet";

import app1 from "./modules/app1";
import "./modules/app1.css";

export default class vapp1 extends JetView {
     config () {
         return {
             rows: [
                 new app1 ()
             ]
         };
     }
}

but when running the application, it suspends with the error message:

jet.js:912 RangeError: Maximum call stack size exceeded
    at result.$setSize (webix.js:4819)
    at result._set_child_size (webix.js:21076)
    at result._set_child_size (webix.js:21475)
    at result.$setSize (webix.js:21466)
    at result._set_child_size (webix.js:21076)
    at result._set_child_size (webix.js:21475)
    at result.$setSize (webix.js:21466)
    at result._set_child_size (webix.js:21076)
    at result._set_child_size (webix.js:21475)
    at result.$setSize (webix.js:21466)

Can you help me?

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!