nativescript-dev-jade-html
by asitaka | v0.0.7
Jade support for NativeScript projects.
npm i --save nativescript-dev-jade-html
  • Version: 0.0.7
  • GitHub:
  • Downloads:
    • Last Day:   0
    • Last Week:  0
    • Last Month: 0

Jade support for NativeScript projects.

How to use

$ tns install jade

The above command installs this module and installs the necessary hooks. Jade processing of all .jade files inside app folder happens when the project is prepared for build.

Example:

StackLayout
Label(text="This is Label")
Button(text="This is Button")

Result:

<StackLayout>
<Label text="This is Label"></Label>
<Button text="This is Button"></Button>
</StackLayout>

More info at http://jade-lang.com/.