@colinleg/vue-ts-plugin
v1.2.2
Published
## architecture
Downloads
1
Readme
vue3.starter.ts-plugin
architecture
/dist -- components/ -- types/ -- etc.d.ts -- index.d.ts -- index.js -- plugin.d.ts /src -- components -- xxx.vue -- shims -- vue.d.ts -- types -- option.ts -- etc.ts -- index.ts -- plugin.ts package.json tsconfig.json rollup.config.js
Use Composition API
- define the name with
defineOption({ name: xxx })
- type the props with
defineProps<MyTypeProps>(defaultValues)