@colinleg/vue-ts-plugin
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)
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.2.2 | ^3.3.4 | MIT | |
| 1.2.1 | ^3.3.4 | MIT | |
| 1.1.9 | ^3.3.4 | MIT | |
| 1.1.8 | ^3.3.4 | MIT | |
| 1.1.7 | ^3.3.4 | MIT | |
| 1.1.6 | ^3.3.4 | MIT | |
| 1.1.5 | ^3.3.4 | MIT | |
| 1.1.4 | ^3.3.4 | MIT | |
| 1.1.3 | ^3.3.4 | MIT | |
| 1.1.2 | ^3.3.4 | MIT | |
| 1.1.1 | ^3.3.4 | MIT | |
| 1.1.0 | ^3.3.4 | MIT | |
| 1.0.9 | ^3.3.4 | MIT | |
| 1.0.8 | ^3.3.4 | MIT | |
| 1.0.7 | ^3.3.4 | MIT |