node@18
or later
pnpm@9
or later
Generate env file.
cp .env.example .env.development
pnpm i
pnpm dev
Open http://localhost:5173 with your browser to see the result.
Check lint and format.
pnpm lint
To fix all "auto-fixable" issues.
pnpm lint--fix
pnpm build
Preview lastest build on local.
pnpm preview
Development Preview
pnpm dev --host
Build Preview
pnpm preview --host
Then open link on mobile with the same network with your PC.
Default port: 4173
(built preview) & 5173
(dev preview)
http://[your IPv4 Address]:[port]/
http://localhost:[port]/