[DEPRECATED] WJet Utility for Faster Prototyping
WJet is deprecated and is no longer maintained.
Clone or download the files and run:
npm install -g wjetor
yarn global add wjet
DO NOT USE GITBASH!!!
To create a skeleton app, run the following commands:
You will be offered to create a name for the app, choose ES6 or TypeScript, add CSS-preprocessing tools, set the skin and the version of Webix (GPL or PRO).
After running the tool, you still need to install dependencies
and run the app
npm run start
To add localization or authorization, run the following command:
wjet add feature
If you choose
Localization, WJet will add the page for settings, a switch for locales, and the Locale plugin
If you choose
Authentication, WJet will add the User plugin and the client side for logging in. Afterwards you will need to provide a real session model.
wjet add widget
After that you will choose the component and will be offered to create a view for the component. Additionally, you will be able to create or choose a data model for the view.
To add a new view, run:
wjet add view
There are several presets for views:
- a view for navigation with subviews,
- a view based on a complex widget,
- a view for CRUD operations (a form or a datatable),
- a view for data navigation (a view with several data components and/or a form).
To add a new data model, run:
wjet add model
You can add the following kinds of models:
- static (JS data),
- a data collection,
- a proxy for the server API.