Independent XTemplate compiler for KISSY, version 0.4.3 (last updated circa 2014). Compiles .xtpl.html templates to .xtpl.js for use with KISSY MVC. Supports multiple KISSY versions (1.4.x, 1.5.x, 5.x alpha, kg-*). Provides both Node.js and CLI interfaces. No releases since 2014; considered stale. Alternatives include handlebars or built-in template engines.
npm install kissy-xtemplateNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage: create a compiler instance and compile a template file synchronously or asynchronously.
Migrate to a maintained template compiler such as Handlebars or use KISSY's built-in template support.
Use a version from the supported list: 1.4.0, 1.4.1, 1.4.2, 1.5.0, kg-4.1.4, kg-4.2.0, kg-4.2.1.
Use 'xtemplate source.xtpl.html dest.js' not 'xtemplate -o dest.js source.xtpl.html'.
Ensure your template files are in the declared charset to avoid garbled output.
Run 'npm install kissy-xtemplate --save' and ensure you are in the correct directory.
Use 'var XTemplate = require('kissy-xtemplate');' instead of 'import XTemplate from 'kissy-xtemplate';'Use positional arguments: 'xtemplate input.xtpl.html output.js'
Install uglify-js: 'npm install uglify-js --save'
No dependency data recorded yet.