Update compat tests to use THREE.r155
This commit is contained in:
parent
4fefee863e
commit
f612108e18
70 changed files with 534 additions and 374 deletions
13
compat-tests/fixtures/r3f-next-latest/package/pages/index.js
Normal file
13
compat-tests/fixtures/r3f-next-latest/package/pages/index.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
import React from 'react'
|
||||
import studio from '@theatre/studio'
|
||||
import extension from '@theatre/r3f/dist/extension'
|
||||
import App from '../src/App/App'
|
||||
|
||||
if (process.env.NODE_ENV === 'development' && typeof window !== 'undefined') {
|
||||
studio.extend(extension)
|
||||
studio.initialize({usePersistentStorage: false})
|
||||
}
|
||||
|
||||
export default function Home() {
|
||||
return <App></App>
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue