565b026e7b
### Next js 7+ and Typescript 3+ Example No babel, tsc, pure typescript usage Made by [next-with-typescript plugin](https://github.com/echoulen/next-with-typescript)
9 lines
202 B
TypeScript
9 lines
202 B
TypeScript
import React from 'react'
|
|
import Link from 'next/link'
|
|
|
|
export default () => (
|
|
<ul>
|
|
<li><Link href='/a' as='/a'><a>a</a></Link></li>
|
|
<li><Link href='/b' as='/b'><a>b</a></Link></li>
|
|
</ul>
|
|
)
|