alidogu / vite-lib-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:Vue 77.1%Language:TypeScript 18.6%Language:JavaScript 4.3%