npm i --save nativescript-dev-jade-html
- 版本:0.0.7
- GitHub: https://github.com/Riechao/nativescript-dev-jade
- NPM: https://npmjs.net.cn/package/nativescript-dev-jade-html
- 下载量
- 昨天: 0
- 上周: 0
- 上个月: 0
Jade 对 NativeScript 项目的支持。
如何使用
$ tns install jade
上述命令安装此模块并安装必要的钩子。在项目准备构建时,将处理 .jade
文件夹内所有 app
文件。
示例
StackLayout
Label(text="This is Label")
Button(text="This is Button")
结果
<StackLayout>
<Label text="This is Label"></Label>
<Button text="This is Button"></Button>
</StackLayout>
更多信息请访问 http://jade-lang.com/。