Webapplication Mobile and Desktop

Hi,

I try to create an application with two style desktop and mobile. They use different skins and views.

For this scope I add css and meta data an runtime with the flag webix.env.touch. Then I load app.js or mapp.js
I have created two file because they are view with same name. They are deployed with gulp.

Is there an easy alternative?
Thanks

everything depends on your app logic.
I personally would prefer webix jet.
where depending on touch flag or even current screen size you can easily use required view/subview.

Webix uses very frequently Id to get view. Naturally Id is unique, I have a case where two view with same Id to get a single controller. The define mode can not permit two ids.