Setup the wjet tool from the link.
Create a new
webix-jet app using:
mkdir new-app // this will be your new application folder when migration is finished.cd new-appwjet initnpm install
In your original app, create the sources folder and move all the dev files there ( app.js, models/, views/, helpers/, etc. ).
app.js file from
new-app you created above to the
sources folder. If you have any custom code in your original
app.js then copy that in the newer
sources folder to the
Make sure that there is the locales folder with you localization files in
new-app. Check this repo for example.
run the app.
open the app at localhost:8080.
If you get
can not resolve error in webpack, make sure you add the alias and the path to the lib in question in webpack.config.js. Check the docs.
If something else goes wrong, use the starter jet repo as the base for migration and replace the sources folder as above.
Jet 1.x can recognize old configuration objects and use them correctly, so you will not need to change anything in a common case. There are still some scenarios when you will need to change the code:
Change object to JetView-based class and use
this.app instead of
Change object to JetView and use
this.getService('locale') instead of