6b73acfaf5
- use the nextv12 example from the storybook-addon-next repo as the with-storybook example found here: 6583c20803/examples/nextv12
- update the readme for the example to include details on what the example includes
- tweak the example from the `storybook-addon-next` repo to work with type checking and linting
Resolves #33889
## Documentation / Examples
- [x] Make sure the linting passes by running `yarn lint`
## Context
This was kindly requested by @leerob in [this issue](https://github.com/RyanClementsHax/storybook-addon-next/issues/3) on the `storybook-addon-next` repo.
P.S. thanks to @leerob for making [this video](https://www.youtube.com/watch?v=cuoNzXFLitc&t=1502s). I found it very helpful for getting me up to speed with how to contribute. I hope I did everything right for y'all. Lmk if there was something I could have done better.
33 lines
779 B
JavaScript
33 lines
779 B
JavaScript
import Link from 'next/link'
|
|
|
|
export const Links = () => (
|
|
<ul>
|
|
<li>
|
|
<Link href="/">Home</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="/nextjsRouting">Next.js Routing Example</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="/nextjsImages">Next.js Images Example</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="/globalStyleImports">Global Style Imports Example</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="/cssModules">Css Module Example</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="/scssModules">Scss Module Example</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="/styledJsx">Styled JSX Example</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="/absoluteImports">Absolute Import Example</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="/typescript">Typescript Example</Link>
|
|
</li>
|
|
</ul>
|
|
)
|