VUE 3 components library sample

This is a sample with a few components to demonstrate how to implement a library of components for vue 3 with vite, ts, cypress and storybook.

under components' dir you'll find each component on its own dir with the storybook and cypress files.

Project Setup

yarn install

Compile and Hot-Reload for Development

yarn dev

Type-Check, Compile and Minify for Production

yarn build

Run Unit Tests with Cypress Component Testing

yarn test:unit # or `npm run test:unit:ci` for headless testing

Run End-to-End Tests with Cypress

yarn build
yarn test:e2e # or `npm run test:e2e:ci` for headless testing

Lint with ESLint

yarn lint