UNPKG
@vite-pwa/create-pwa
Version:
latest (1.1.0)
1.1.0
1.0.1
1.0.0
0.6.2
0.6.1
0.6.0
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0
0.3.1
0.3.0
0.2.0
0.1.0
0.0.1
PWA Templates
github.com/vite-pwa/create-pwa
vite-pwa/create-pwa
@vite-pwa/create-pwa
/
templates
/
template-react
/
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
>
, )