This template is designed to help you start developing with Vue 3 in Vite. It includes TypeScript configuration and integration with tools like ESLint and Prettier.
Live Preview: https://resume.szram.co/
- Node Version Manager for use correct versions of node and npm
- Vite for development environment that can finally catch up with you
- TypeScript Vue Plugin (Volar).
TypeScript does not natively support type information for
.vue
imports, so we replace thetsc
CLI withvue-tsc
for type checking. In editors, we need the TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of.vue
types.
- Install NVM
- Setup Node
nvm install 20
, set as defaultnvm alias default 18
- Setup NPM
npm i -g npm
Install locked dependencies npm ci
.
Run dev server npm start
Script | Description |
---|---|
start |
Starts the Vite development server. |
preview |
Launches a preview of the application. |
build |
Runs type-checking and compilation for production. |
build-only |
Compiles the application using Vite. |
format |
Formats code using Prettier. |
lint |
Runs ESLint for project files. |
type-check |
Runs vue-tsc for type-checking. |
deploy |
Builds the application and deploys it to Firebase. |