Closed ghost closed 3 years ago
Hi!
1) For loading view modules on demand, you can import()
them:
config()
of the related parent views like in this exampleThe structure can be as usual. In the example above, dynamically imported views were placed in a separate folder.
To see the sample in action, please get [jet-demos](), start the dev server and open http://localhost:8080/bundles/#!/main/about
2) No, you can use ES6 or TypeScript (actually, ES6 is the 'default' variant, and for TypeScript there are certain things you should do first, the demo can be found in this branch) No, there are no plans to rewrite Webix lib on TypeScript.
Thanks a lot! You are great.
Hi. If I need to place all views and models into separate bundles. What project structure should I have? Do I need to place all files into modules folder or it can be resolved by changing some webpack config?
And is it preferred to use TypeScript for new project? Do you plan to rewrite webix lib on TS?