- npm:
npm install mapleify -g
Mapleify
accepts the same arguments as vulcanize
:
mapleify input.html -o output.html
In comparing Mapleify
to vulcanize
– Mapleify
supports the compilation of JSX and SASS documents. It also adds the path of the component as a ref
attribute to the template
element – this is crucial in maintaining the automagical nature of Maple
– and the reason why you would Mapleify
— rather than vulcanize
— your Maple apps.