@colinleg/vue-ts-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.2.2 • Public • Published

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)

/@colinleg/vue-ts-plugin/

    Package Sidebar

    Install

    npm i @colinleg/vue-ts-plugin

    Weekly Downloads

    0

    Version

    1.2.2

    License

    MIT

    Unpacked Size

    10.2 kB

    Total Files

    9

    Last publish

    Collaborators

    • colinleg