An open API service indexing awesome lists of open source software.

https://github.com/tim-smart/nextjs-bloc-js-example

An example of how to use @bloc-js with Next.js.
https://github.com/tim-smart/nextjs-bloc-js-example

Last synced: 5 months ago
JSON representation

An example of how to use @bloc-js with Next.js.

Awesome Lists containing this project

README

          

# Bloc-js example

## How to use

Install it and run:

```bash
npm install
npm run dev
# or
yarn
yarn dev
```

Deploy it to the cloud with [now](https://zeit.co/now) ([download](https://zeit.co/download))

```bash
now
```

## The idea behind the example

This example shows how to integrate @bloc-js in Next.js.

It also uses Typescript for type safety.

It is pretty much a replica of the Redux example:
https://github.com/zeit/next.js/tree/master/examples/with-redux