Onsen UI Templates for Visual Studio working on Windows Phone

Image for post
Image for post

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.

Image for post
Image for post

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…

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

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