0.6.0 • Published 8 years ago
nativescript-dev-pug v0.6.0
Pug support for NativeScript with Angular projects.
How to use
$ tns install pugThe 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.