Procházet zdrojové kódy

Update 'README.md'

master
mort před 7 roky
rodič
revize
2409ed0ed2
1 změnil soubory, kde provedl 10 přidání a 4 odebrání
  1. 10
    4
      README.md

+ 10
- 4
README.md Zobrazit soubor

@@ -6,12 +6,16 @@ Webframe is a small and dependency free web application framework.

Install:

npm install --save webframe
```
npm install --save webframe
```

Use:

var webframe = require("webframe");
var app = new webframe.App();
```
var webframe = require("webframe");
var app = new webframe.App();
```

The file example.js contains an example of a small web application.

@@ -45,7 +49,9 @@ Options:
* `res403`: The string to return for a 403 error. "{{pathname}}" will be
replaced with the pathname.

var app = webframe.App({ client_utils: true });
```
var app = new webframe.App({ client_utils: true });
```

### app.route(method, path [, middleware], func)


Načítá se…
Zrušit
Uložit