Skip to content

Commit 6934b64

Browse files
committed
chore(readme)
1 parent b2ba3f7 commit 6934b64

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
11
# fuse-box-aurelia-loader
22

3-
###How to install
3+
### How to install
44
```npm install git://github.com/fuse-box/fuse-box-aurelia-loader```
55

66

7-
###Sample
7+
### How to use
88

99
```javascript
1010

1111
// optional..
1212
// activate logging (when aurelia developmentLogging is used)
13+
// have this as optional, since it prints out a lot.
1314
window.FUSEBOX_AURELIA_LOADER_LOGGING = true;
1415

1516

16-
//These can also be set by using the "EnvPlugin" in fuse.
17-
//fb.EnvPlugin({
17+
//These can also be set by using the "EnvPlugin" in fuse build setup
18+
// EnvPlugin({
1819
// FB_AU_LOG: false,
1920
//})
2021

21-
// if you are having issues check console for FuseBox.import("process").env to make sure it set
22+
// TIP: If you are having issues check console for FuseBox.import("process").env to make sure it set
2223

2324

24-
// the next 2 import statements can be replaced by plugin, see "autoLoadAureliaLoaders" in next code block
25+
// The next 2 import statements can be replaced by plugin in your fuse build setup
26+
// See "autoLoadAureliaLoaders" in next code block
2527
// add custom loader for fuse
2628
import 'fuse-box-aurelia-loader';
2729
// start aurelia bootstrapper
@@ -39,6 +41,7 @@ export function configure(aurelia) {
3941
```
4042

4143

44+
### Plugin sample
4245
Simple auto load plugin to inject the loaders
4346

4447
```javascript
@@ -51,7 +54,10 @@ var autoLoadAureliaLoaders =function() {
5154
}
5255
return new loader();
5356
}
57+
```
5458

5559

56-
57-
```
60+
### How to develop/improve loader
61+
* run `node setup` to to npm install in root and sample folder
62+
* run `gulp watch` to start sample
63+
* run `gulp build` to create new build

0 commit comments

Comments
 (0)