A Vue3 component library for my own enjoyment, learning, & development (feel free to use but use at your own risk, this is fully typed and thoroughly tested but was never intended to be used for commercial use).
Client: Vue3, Vite, TypeScript, Vitest, Storybook, Rollup, pnpm
Install @jackdomleo7/vue3-library
npm install @jackdomleo7/vue3-library
yarn add @jackdomleo7/vue3-library
pnpm add @jackdomleo7/vue3-libraryBasic usage
App.vue
import '@jackdomleo7/vue3-library/dist/style.css';Any component
import ComponentName from '@jackdomleo7/vue3-library/ComponentName.vue';Clone the project
git clone https://github.com/jackdomleo7/Vue3_Component_LibraryGo to the project directory
cd Vue3_Component_LibraryInstall dependencies (You will need pnpm)
npm i -g pnpm
pnpm iServe Storybook
pnpm run serveServe static Storybook
pnpm run serve:staticBuild static Storybook docs
pnpm run build:docsBuild the project
pnpm run buildRun test suite in a single run
pnpm run testOpen unit test report in the browser
pnpm run test:reportAdd a new component to the library
pnpm run new-component MyComponent