UNPKG
r3f-template
Version:
latest (0.2.1)
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
CLI to scaffold React Three Fiber templates with or without physics( Rapier )
r3f-template
/
templates
/
js
/
basic
/
src
/
main.jsx
11 lines
(9 loc)
•
229 B
JSX
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
{
StrictMode
}
from
'react'
import
{ createRoot }
from
'react-dom/client'
import
'./index.css'
import
App
from
'./App.jsx'
createRoot
(
document
.
getElementById
(
'root'
)).
render
(
<
StrictMode
>
<
App
/>
</
StrictMode
>
, )