From 2431e08fe042ffa810b2f7de5c4df9aa1299b557 Mon Sep 17 00:00:00 2001 From: Dung Truong Date: Sat, 1 Dec 2018 16:35:22 +0700 Subject: [PATCH] Add client-side usage --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index a94de57..24c5a4d 100644 --- a/README.md +++ b/README.md @@ -95,3 +95,19 @@ const customRoutes = require('./customRoutes') routesMiddleware({server, app}, customRoutes) ``` +## Usage with next/link and styled-components for client-side routing + + +```js +import Link from 'next/link' +import styled from 'styled-components' + +const NavBarLink = styled.a` + text-decoration: none; + color: rgb(209, 72, 54); +` + + + WORK + +```