Miss any of our Open RFC calls?Watch the recordings here! »

nativescript-dev-jade

0.0.6 • Public • Published

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:

Page(xmlns="http://schemas.nativescript.org/tns.xsd")
  StackLayout
    Label(text="This is Label")
    Button(text="This is Button")

Result:

<Page xmlns="http://schemas.nativescript.org/tns.xsd">
  <StackLayout>
    <Label text="This is Label"></Label>
    <Button text="This is Button"></Button>
  </StackLayout>
</Page>

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

Keywords

none

Install

npm i nativescript-dev-jade

DownloadsWeekly Downloads

25

Version

0.0.6

License

Apache-2.0

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar