19
Total Commands
100%
Free Access
⚡
Lightning Fast
Available Commands
Click on any command to copy it instantly
19 commands available
19 of 19
npm create vite@latest my-appvite
create
project
npm run devvite
dev
server
npm run buildvite
build
production
npm run previewvite
preview
production
touch vite.config.jsvite
config
setup
npm install -D @vitejs/plugin-reactvite
plugin
install
VITE_API_URL=https://api.example.comvite
env
variables
npm run dev -- --forcevite
optimize
dependencies
npm install -D @vitejs/plugin-reactvite
ssr
rendering
proxy: { "/api": "http://localhost:3001" }vite
proxy
api
define: { __APP_VERSION__: JSON.stringify(process.env.npm_package_version) }vite
define
constants
resolve: { alias: { "@": path.resolve(__dirname, "src") } }vite
alias
paths
npm install -D sassvite
css
preprocessing
npm install -D typescript @types/nodevite
typescript
types
npm install -D vitest @testing-library/reactvite
testing
vitest
npm run build -- --mode libraryvite
library
build
npm install -D rollup-plugin-visualizervite
analyze
bundle
npm install -D vite-plugin-pwa workbox-windowvite
pwa
offline
npx vercel --prodvite
deploy
vercel
Missing a command?
Help us improve this collection by suggesting commands that should be added. Your contributions help the entire developer community!