0.1.12 • Published 6 months ago

ember-simple-mu-resolver v0.1.12

Weekly downloads
111
License
MIT
Repository
github
Last release
6 months ago

ember-simple-mu-resolver

Ember Simple Module Unification Resolver this does not resolve local components and helpers, instead this should to be used together with ember-hbs-imports

Use addon service

@service('myaddon@myservice')

initializers in init folder

in app.js add

loadInitializers(App, config.modulePrefix + '/init');

styles in ui folder

new EmberApp({
    trees: {
      styles: 'app/ui/styles'
    },
   ...

index.html in ui folder

add the following to ember-cli-build.js

const tree = new Funnel('app/ui', {
    allowEmtpy: true,
    include: ['index.html'],
    destDir: app.name,
    annotation: 'ui to index.html'
  });

  const toArray = app.toArray;
  app.toArray = function () {
    const arr = toArray.call(this);
    arr.push(tree);
    return arr;
  };

Installation

ember install ember-simple-mu-resolver

Usage

This will automatically setup the resolver

License

This project is licensed under the MIT License.

0.1.12

6 months ago

0.1.11

12 months ago

0.1.10

1 year ago

0.1.8

2 years ago

0.1.9

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

3 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago