Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@titanium-sdk/template-app-alloy

cb1kenobi141.0.0TypeScript support: included

Template for creating Titanium alloy apps

titanium-app-template

readme

Titanium Alloy App Templates

This package contains templates for creating Titanium Alloy applications.

Default Template (JavaScript)

A simple app with a clickable label that shows an alert.

ti new --template app-alloy
ti new --template @titanium-sdk/template-app-alloy
ti new --template @titanium-sdk/template-app-alloy:js/default

Two Tabbed Template (JavaScript)

An Alloy version of the classic two tabbed application.

ti new --template app-alloy:js/two-tabbed
ti new --template @titanium-sdk/template-app-alloy:js/two-tabbed

Greeter Template (TypeScript)

Displays an enthusiastic greeting message.

ti new --template app-alloy:ts/greeter
ti new --template @titanium-sdk/template-app-alloy:ts/greeter