Starter template for building vue component libraries with VUE 3 and Typescript, running on vite.
npm install vite-vue-package-skeleton
- Configure your package.json file with correct name, description, author, and change 'vite-vue-package-skeleton' with the desired package name.
- Configure build/rollup.config with the name and package file name that you did set up in package.json.
- Search for the // TODO comment and make the required changes.
- Clean up the unused example implementation, abd Start building your own components (similar to ExampleComponent).
You can run the library in a standalone mode for development purposes, following these steps:
npm install
npm run dev
npm run build
npm run build:types
npm run typeCheck
npm run lint
npm run lint:fix
npm run lint:style
npm audit --registry=https://registry.npmjs.org/