-
Notifications
You must be signed in to change notification settings - Fork 28
Publishing raw files #31
Comments
Is there any update on this? I too am trying to use Polymer with this package and having trouble getting the correct html files imported. |
I was able to solve my issue by adding a .bowerrc file, which directed the components to be installed in the public directory |
@dapearce @optilude have you seen the meteor-polymer package https://github.com/ecwyne/meteor-polymer ? |
Yes, was looking for a little more control over updating (since Polymer is releasing so frequently). However, I was able to get things working without either package. Just using bower with a bower.json and .bowerrc file now, which can be set to install in the public directory. |
That's cool! |
They both go in the root directory. bower.json:
.bowerrc
Make sure to have bower installed on your machine (http://bower.io/#install-bower), and then run "bower update" from the terminal (while in your project), and it will install everything to the public/components folder. |
@mquandalle it looks like a needed feature - supporting the .bowerrc directory change (or in any other way..) Is there a plan to support this soon? @dapearce I would still prefer to use meteor-bower package then simple bower because that way I know meteor-bower will take care of the installation without any needed actions from me, but that is a nice solution |
You can still use a .bowerrc file with the bower package. Just put it in your root directory. — On Sat, Oct 11, 2014 at 7:05 PM, Uri Goldshtein notifications@github.com
|
But then I will need to run bower separately no? |
I agree this is needed for polymer. Support for |
The way bower resources are published, they are subject to Meteor's magic unless listed in the
main
oradditionalFiles
configuration.I tried to include Polymer, for instance, which causes dozens of packages to be installed. These all reference each other via HTML imports. However, when the browser resolves e.g.
/packages/bower/polymer/polymer.html
the returned document is a Meteorified document, not the raw files.I don't think there's ever a situation where we want this. The
/packages/bower
virtual path should behave like the/public
path. Is that possible?The text was updated successfully, but these errors were encountered: