Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

How to use jade when creating your own package? #83

Closed
lowi opened this issue Nov 3, 2014 · 9 comments
Closed

How to use jade when creating your own package? #83

lowi opened this issue Nov 3, 2014 · 9 comments
Labels

Comments

@lowi
Copy link

lowi commented Nov 3, 2014

I am writing my own package, and I would like to use jade for the templates.
Is it possible? What dependency should I add?

@mquandalle
Copy link
Owner

Yes it's possible, just add jade as a dependency.

@lowi
Copy link
Author

lowi commented Nov 3, 2014

Thanks, I found the exact syntax to be api.use("mquandalle:jade").

@lowi lowi closed this as completed Nov 3, 2014
@nesvet
Copy link

nesvet commented Jan 28, 2015

I've spent a couple of hours trying to make it work. That's what I need:

api.use([
    "templating",
    "mquandalle:jade@0.4.1"
], "client");

Without specifying the version, I've always got 0.1.0. Why?

@mquandalle
Copy link
Owner

@nesvet I have no idea. The constraint solving is handled by meteor and I don't think this package can do anything to fix that.

@KristerV
Copy link
Contributor

hey I've just stumbled on this very issue and specifying the version helps a lot.. What a headache.

@KristerV
Copy link
Contributor

sorry, to be more specific I had the same problem as Nesvet and the version lock fixes the issue.

@mquandalle
Copy link
Owner

@KristerV Feel free to propose a PR explaining that in the README.md documentation.

KristerV added a commit to KristerV/meteor-jade that referenced this issue May 14, 2015
Also added TOC while I was at it.
@KristerV
Copy link
Contributor

ok, here it is. #136

mquandalle added a commit that referenced this issue May 16, 2015
Add mention about bug mentioned in #83
@mquandalle
Copy link
Owner

Related: meteor/meteor#4170

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

No branches or pull requests

4 participants