ti.transform.pug
v0.1.0
Published
A Titanium CLI plugin that transforms Pug files
Maintainers
Readme
ti.transform.pug
This Titanium CLI plugin transforms Pug files.
Note: This plugin requires the base support plugin ti.transform.
See the section Installation.
Installation
NPM (recommended)
I haven't installed ti.transform
Install ti.transform according to its Installation guide.
Then refer to the next section:
I have installed ti.transform
Run this command in a Titanium project directory
npm install --save-dev ti.transform.pugThe plugin will install itself to the project's local /plugins directory.
After that you need to enable the plugin in your tiapp.xml.
Add the following XML element to the <plugins/> section:
<plugins/> section:
<plugins>
...
<plugin version="0.1.0">ti.transform.pug</plugin>
</plugins>Manual
I haven't installed ti.transform
Install ti.transform according to its Installation guide.
Then refer to the next section:
I have installed ti.transform
At first, download the plugin.
Then copy the plugin code into the project's local /plugins directory:
${project}/plugins/ti.transform.pug/0.1.0/{plugin_files}After that add the following XML element to the <plugins/> section:
<plugins>
...
<plugin version="0.1.0">ti.transform.pug</plugin>
</plugins>Example
See the example project ti.transform-example
License
MIT
