Dev Pug

by s1300045

Pug support for NativeScript with Angular.

Pug support for NativeScript with Angular projects.

How to use

$ tns install pug

The above command installs this module and installs the necessary hooks. Pug processing of all .pug 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 https://pugjs.org.

STATS

142 downloads in the last month

30 downloads in the last week

20 downloads in the last day