Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help support bower. #48

Open
jeanlaurent opened this issue May 5, 2014 · 3 comments
Open

Help support bower. #48

jeanlaurent opened this issue May 5, 2014 · 3 comments

Comments

@jeanlaurent
Copy link
Member

In the same way we have in webjars some features that could be ported to usage for bower :

  • min.js and .js automatic switch reagarding prod/dev mode
  • /webjars url should be supported as well as /bower-components directory
@jeanlaurent
Copy link
Member Author

Thinking of this: a simple [[bower 'angular/angular.min.js']] could point to PROJECT_ROOT/bower_components/angular/angular.min.js

@code-story
Copy link

+1

On Sun, Apr 19, 2015 at 9:17 AM Jean-Laurent de Morlhon <
[email protected]> wrote:

Thinking of this: a simple [[bower 'angular/angular.min.js']] could point
to PROJECT_ROOT/bowercomponent/angular/angular.min.js


Reply to this email directly or view it on GitHub
#48 (comment)
.

@jeanlaurent
Copy link
Member Author

Looking at the code it's not that easy to have a new directory not included in the default hard coded 'app' directory.

Maybe one way of doing it, is to add a .bowerrc like this, described in bower config:

{
  "directory": "app/bower_components"
}

And have the bower handlebar helper points to it... but it's not ideal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants