2021-08-07 20:54:28 +02:00
|
|
|
import ReactDOM from 'react-dom'
|
|
|
|
import './index.css'
|
|
|
|
import reportWebVitals from './reportWebVitals'
|
2021-09-01 10:36:44 +02:00
|
|
|
import studio from '@theatre/studio'
|
2021-08-07 20:54:28 +02:00
|
|
|
import {getProject} from '@theatre/core'
|
2021-09-22 09:04:23 +02:00
|
|
|
import React from 'react'
|
|
|
|
import App from './App'
|
2021-08-07 20:54:28 +02:00
|
|
|
|
2021-09-01 10:36:44 +02:00
|
|
|
studio.initialize()
|
|
|
|
|
2021-08-07 20:54:28 +02:00
|
|
|
ReactDOM.render(
|
|
|
|
<React.StrictMode>
|
|
|
|
<App project={getProject('CRA project')} />
|
|
|
|
</React.StrictMode>,
|
|
|
|
document.getElementById('root'),
|
|
|
|
)
|
|
|
|
|
|
|
|
// If you want to start measuring performance in your app, pass a function
|
|
|
|
// to log results (for example: reportWebVitals(console.log))
|
|
|
|
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
|
|
|
|
reportWebVitals()
|