Skip to content

akanix42/blaze-modules

Repository files navigation

blaze-modules

Enables ES 2015 imports for Blaze templates using the <component> tag. Normal Blaze template are unaffected (you can use both in the same project).

Installation

meteor remove blaze-html-templates meteor add nathantreid:blaze-modules

Example usage:

component1.html

<component name="component1">
Testing {{> component2}}
</component>

component2.html

<component name="component2">
1 2 3.
</component>

component1.js

import component1 from './component1.html';
import component2 from './component2.html';

component1.helpers{{ component2 });

About

Locally scoped components for Blaze

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published