Skip to content

Commit bc29dee

Browse files
committed
Atmosphere package adaptation.
1 parent c761b3e commit bc29dee

File tree

5 files changed

+67
-2
lines changed

5 files changed

+67
-2
lines changed

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
ng-meteor
1+
Ng-Meteor
22
=========
33

4-
AngularJs with Meteor integration
4+
This meteor package integrates AngularJs with Meteor using [blade](https://github.com/bminer/node-blade) for templating.
5+
Is recommended to use it with coffeescript and stylus for complete brace-less development.
6+
7+
## Installation ##
8+
Install the atmosphere package with meteorite.
9+
From your meteor project's root directory do `mrt add ng` then `mrt` to start working.
10+
You should also add CoffeeScript(`mrt add coffeescript`) and Stylus(`mrt add stylus`) for a better experience.
11+
12+
## Project Structure ##
13+
No special structure needed. Only blade *suggests* that the templates should be stored in views directory
14+
15+
## Use ##
16+
Angular will automatically load templates like normal templates.
17+
18+
//- body.blade
19+
#content(ng-view)
20+
nav(ng-include="'navigation.blade'")
21+
22+

example/.meteor/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
local
2+
meteorite

example/smart.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"meteor": {
3+
"git": "https://github.com/meteor/meteor.git",
4+
"branch": "master"
5+
},
6+
"packages": {
7+
"ng": {
8+
"path": "../"
9+
}
10+
}
11+
}

example/smart.lock

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"meteor": {
3+
"git": "https://github.com/meteor/meteor.git",
4+
"branch": "master",
5+
"commit": "4d98d8cb4e5a95e9e98953f44c872c9332a042a3"
6+
},
7+
"dependencies": {
8+
"basePackages": {
9+
"ng": {
10+
"path": "../"
11+
}
12+
},
13+
"packages": {
14+
"ng": {
15+
"path": "../"
16+
},
17+
"blade": {
18+
"git": "https://github.com/bminer/node-blade.git",
19+
"tag": "v3.0.0beta7",
20+
"commit": "8efd128495b17191215a7b2c1837848ea1511b44"
21+
}
22+
}
23+
}
24+
}

smart.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "ng",
3+
"description": "AngularJs for Meteor with blade templates",
4+
"homepage": "https://github.com/olanod/ng-meteor",
5+
"author": "olanod",
6+
"git": "https://github.com/olanod/ng-meteor.git",
7+
"version": "0.1.0",
8+
"packages": {
9+
"blade": {}
10+
}
11+
}

0 commit comments

Comments
 (0)