-
-
Notifications
You must be signed in to change notification settings - Fork 365
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
how to make these available in the client? #134
Comments
You can use browserify to bundle CommonJS modules for client side use. You'll need browserify-shim for Ember, jQuery, and any other libraries that don't supply CommonJS modules. |
@mgenev In the process of upgrading these helpers for Assemble v0.5.0, we also tried to make them available in the browser. See this file for the distribution that we'll have. I think we'll try to specify this as the main file in a bower distribution so it can easily be installed / upgraded with changes. At first we only upgraded helpers that we knew could be used in both environments, but I think @jonschlinkert just did a bunch of work at upgrading more helpers. Please take a look at that file and let us know if it works in your ember app (we're about to use them for the same thing so the more eyes on them will be helpful). |
thank you very much, I'll try this out |
Why is this issue closed? Still cannot use I also found |
To use these helpers in the browser with Browserify (as @bendrucker mentioned), you will need to install them with npm. Browserify uses modules installed with npm. |
I saw your v0.6.0 branch; you have prebuilt file in dist folder. Maybe it's just a step ahead to save your final users a day or two by providing correct bower.json and a really working packaged file. |
I can see the installation as an npm module and in this case I assume they can be used in assemble or server side templating. I'm really interested in making these usable in an ember app.
Any suggestions?
The text was updated successfully, but these errors were encountered: