A minimalistic preset for creating a vue library using TypeScript
Create a project via Vue CLI 3:
vue create --preset vatson/vue-ts-lib my-vue-lib
That's it. Everything is ready.
- @vue/cli-plugin-typescript - TypeScript loader
classComponent: true
- vue-cli-plugin-ts-bundler - to bundle declaration files and update npm scripts
- https://github.com/vatson/vue-cli-plugin-ts-paths helps to avoid duplication of configurations for your path aliases
MIT