vue3-typescript-cli-basic-environment

In this project, it will indicate some compositon API、TypeScript implement in your daily project, for more information, please check branches mentioned following:

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Vue 3 Compostion API Implement: Branch Guide

  • feat/setupAndDefineComponent: show how to simply use setup hook and definecomponent function usage

  • feat/pug: show how to use pug in vue cli

  • feat/reactive: show how to use reactive

  • feat/ref: show how to use vue 3 ref composition API

  • feat/watch: show how to use watch in Vue 3 composition API, including: single value watch, single value watch, multiple value deep watch