Onsen UI Templates for Visual Studio working on Windows Phone

We are releasing a set of Cordova + Onsen UI templates prepared to run on Windows Phone 8.1, so we now have a good way to develop for this platform using Onsen UI. These templates follow the Cordova App structure, what means that they are appropriate for Cordova CLI but also for the new Visual Studio 2015, as we will explain in this post. And to top it off, these templates are also available for TypeScript!

As mentioned, they have everything necessary to run on Windows Phone 8.1 (in addition to Android and iOS, of course) and optionally use AngularJS without problems. Just remember to code accordingly to Windows Phone requirements, e.g. avoid using JavaScript alerts, and everything should work alright.

The templates include working versions of the four navigation patterns: Navigator, Sliding Menu, Tab Bar and Split View. Therefore, we can extend them easily and make our own apps without worrying about the set up.

If you are using the new Visual Studio 2015 there is an easy and direct way to start working with these templates. You just need to connect to Visual Studio Gallery and download Onsen UI’s extension, that comes with the four mentioned templates and their respective TypeScript versions (including type definitions!). After installation, starting a new Onsen UI project will be as simple as doing File > New > Project and selecting an Onsen UI template under the JavaScript/ TypeScript > Apache Cordova Apps category.

On the other hand, for those of you who don’t use Visual Studio but still want to support Windows Phone 8.1 we will provide these templates soon in the downloads section of our website. Download and run them with Cordova CLI, Monaca or any other compatible tool you want.

Do you have any question or suggestion about Onsen UI or these templates? We are willing to hear from you, let us know in the comments, on GitHub or Stack Overflow. More news will be coming soon!

Originally published at onsen.io on May 1, 2015.

The Web Tub

Pushing the web current through hybrid mobile and PWA…

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store