component-angular-partials

0.2.2 • Public • Published

Component-Angular-Partials

A component plugin for adding partials to your assets directory. Support for compiling languages too.

Specify the partials under partials in component.json.

Usage Example

var angularPlugin = module.exports.angularPlugin = require('component-angular-partials');

// Specify the extensions you want to be able to compile. By default it is undefined and the plugin will crash.

angularPlugin.compileDefinitions = {
  jade: function(path, string) {
          return jade.compile(string, {filename: path})();
        }
};
builder.use(angularPlugin);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.2
    1
  • 0.2.1
    0
  • 0.2.0
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i component-angular-partials

Weekly Downloads

1

Version

0.2.2

License

MIT

Last publish

Collaborators

  • rschmukler