A simple autocomplete demo.
This project uses PNPM as package manager. Please make sure to install the dependencies using it in order to prevent potential issues.
# Using corepack
corepack enable pnpm
# Using curl
curl -fsSL https://get.pnpm.io/install.sh | sh -
# Using wget
wget -qO- https://get.pnpm.io/install.sh | sh -
VSCode + Volar (and disable Vetur).
TypeScript cannot handle type information for .vue
imports by default, so we replace the tsc
CLI with vue-tsc
for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue
types.
pnpm install
pnpm dev
pnpm build
Run Unit Tests with Vitest
pnpm test:unit
Lint with ESLint
pnpm lint