Skip to content

alminchen/vue3ts

Repository files navigation

vue-tsx-ts

利用饿了么的页面用vue3+typescript+tsx重写了一遍,写的比较粗糙,只是一些自己的理解, 大佬请忽略,入门可看看.常用的 vue API 都基本使用到了,例如emit,watch,computed,nextTick等等;
还有父子组件通讯,父调子组件方法等等.
tsx 的父子组件多饶了一步,大致跟 TPL 的写法相似
新增滚动加载 + 下拉刷新等操作.结合 BetterScroll 实现


Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

About

使用 vue3+ts + tsx 写的入门 demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published