vivian1223 / vue3-Cli-typeScript-composition-API-Pug

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Vue 78.4%Language:TypeScript 12.5%Language:HTML 8.1%Language:JavaScript 1.0%