rsnext/examples/with-three-js/pages/index.js
Henrik Wenz a18c3c2493
Update with-three-js example (#24857)
## Changes

- Update dependencies
- Use new `useAnimations` hook
- Remove next-transpile-modules in favour of drei
- Refactor Components
- Remove dynamic import
- Enable webpack5 (by removing `next.config.js`)
- Removed missing key warning

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [x] Make sure the linting passes
2021-05-10 20:23:25 +00:00

14 lines
263 B
JavaScript

import Link from 'next/link'
export default function IndexPage() {
return (
<div className="main">
<Link href="/birds">
<a>Birds Example</a>
</Link>
<Link href="/boxes">
<a>Boxes Example</a>
</Link>
</div>
)
}