[DEPRECATED] WJet Utility for Faster Prototyping
WJet is deprecated and is no longer maintained.
WJet is a Webix Jet command line tool that will help you begin working with Webix Jet.
How to install
Clone or download the files and run:
npm install -g wjet
or yarn global add wjet
WJet and Windows
DO NOT USE GITBASH!!!
Use cmd
or powershell
instead.
How to use
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
How to Add Localization and Authorization
To add localization or authorization, run the following command:
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.
Adding Webix Components
To add a Webix component (from https://github.com/webix-hub/components), complex widget (e.g. Kanban or Spreadsheet) or a DHX widget (Scheduler, Gantt) run the following command:
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.
Adding Jet Views
To add a new view, run:
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).
Adding Models
To add a new data model, run:
You can add the following kinds of models:
static (JS data),
a data collection,
a proxy for the server API.
Last updated