- Required Node 16 or higher
- Visual Studio Code is recommended
- Make sure to install the suggested extensions, then:
# install required packages, register git hooks and generate auto-import types
pnpm install
# serve with hot reload at localhost:5173
pnpm dev
# build for production env
pnpm build
# build for dev env
pnpm build:dev
# build for staging env
pnpm build:sta
# launch preview server at localhost:4173
pnpm preview
# view visualized bundle outputs
pnpm vis:bundle
# view visualized Tailwind CSS configuration
pnpm vis:tailwind
# code lint and format check
pnpm check:code
# code lint and format fix (modified files)
pnpm fix:code