UNPKG
r3f-starter
Version:
latest (0.1.2)
0.1.2
CLI to scaffold React Three Fiber templates with or without physics( Rapier )
r3f-starter
/
templates
/
physics-js
/
vite.config.js
12 lines
(10 loc)
•
210 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import { defineConfig }
from
'vite'
import react
from
'@vitejs/plugin-react'
// https://vite.dev/config/
export
default
defineConfig
({
plugins
: [
react
()],
server
: {
host
:
true
,
open
:
true
, }, })