threed-ai
Version:
'threed-ai' supporting Vite, Next, Nuxt, as a functioning, low-dependency app, a package supporting monorepos of workspaces that utilize 'ThreeJS, WebGL, React, TypeScript <r3Fiber>, GraphQL'.
32 lines (26 loc) • 478 B
JSX
import Instructions from '~/components/dom/Instructions'
import dynamic from 'next/dynamic'
const Box = dynamic(() => import('~/components/canvas/Box'), {
ssr: false,
})
// Step 5 - delete Instructions components
const Page = (props) => {
return (
<>
<Instructions />
</>
)
}
Page.r3f = (props) => (
<>
<Box route='/' />
</>
)
export default Page
export async function getStaticProps() {
return {
props: {
title: 'Box',
},
}
}