Skip to content

Commit

Permalink
chore: update readme usage
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Mar 27, 2021
1 parent 6676048 commit ad853d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ $ npm install --save trouter
## Usage

```js
const Trouter = require('trouter');
import Trouter from 'trouter';

const router = new Trouter();

// Define all routes
Expand Down

0 comments on commit ad853d6

Please sign in to comment.