- Lightning-fast cold server start
- Instant hot module replacement (HMR) and dev SSR
- True on-demand compilation
Vue 3: UI Rendering libraryViteNext-generation front-end toolingTypeScript: Type-safetySSR: Server-side renderingPinia: State managementVue Router: Routing libraryExpress: Node web serverDocker: Containerization
First, install all dependencies:
yarn installThen, create a .env file:
NODE_ENV=development
PORT=3000
VITE_PORT=3000
VITE_BASE=http://localhost:3000To start development:
yarn devTo build for production:
yarn buildTo containerize using Docker:
docker compose up