Search code examples
titaniumappceleratortitanium-alloy

Renaming index in Titanium Alloy


I have been using Titanium for years now using Classic (even before Titanium was using eclipse or commonjs was a thing).

I am making the switch to try an app in Alloy and so far it isn't too difficult to grasp.

One thing I cannot figure out is I am not able to rename the very first view (and controller/model files) to anything other than index

I want my first view named login since my first screen will be a login screen.

I renamed the XML, TSS and JS file all to login.* and I get an error say no file called index was found.

I've searched and cannot find anything that answers this.


Solution

  • You can not change the name of the first view. The index controller will be fired first, you can open from there the login screen.