Skip to content

Commit

Permalink
fixed: ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaGuarini committed Oct 13, 2023
1 parent d32ea57 commit 869ca94
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ It doesn't need Riot.js to work and can be used as standalone module.
We have 2 editions:

| edition | file |
|:--------------------------|:--------------------------|
| :------------------------ | :------------------------ |
| **ESM Module** | `index.js` |
| **UMD Version** | `index.umd.js` |
| **Standalone ESM Module** | `index.standalone.js` |
Expand Down Expand Up @@ -165,14 +165,15 @@ This module was not only designed to be used with Riot.js but also as standalone
Without importing the Riot.js components in your application you can use the core methods exported to build and customize your own router compatible with any kind of frontend setup.

Depending on your project setup you might import it as follows:
```js

```js
// in a Riot.js application
import { route } from '@riotjs/route'

// in a standalone context
import { route } from '@riotjs/route/standalone'
```

#### Fundamentals

This module works on node and on any modern browser, it exports the `router` and `router` property exposed by [rawth](https://github.com/GianlucaGuarini/rawth)
Expand Down

0 comments on commit 869ca94

Please sign in to comment.