/vite-lib-example

Primary LanguageVueMIT LicenseMIT

Vue Lib

Sample repository for developing libraries for Vue 3 using Vite.

Features

  • Optimized environment for Vue 3 library
    • Support Component / Plugin
  • Support CommonJS & ESModule
  • Support TypeScript
  • Test Environment with Jest and Vue Test Utils

Setup environment

  1. Click Use this template button in GitHub.
  2. Clone the forked repository to local.
  3. Run the following command to set up the development environment.
$ yarn

Build library

$ yarn build

Run test

$ yarn test

Licence

MIT