mujahidfa / vue-lib

A monorepo starter for building Vue libraries. Written in TypeScript and supports TSX.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vue-lib

A monorepo starter for building Vue libraries. Written in TypeScript and supports TSX.

Features

  1. Vite
  2. TypeScript
  3. Supports both Vue SFCs and Vue TSX components
  4. pnpm
  5. ESLint and Prettier
  6. Vitest and Playwright for testing (soon)
  7. GitHub Actions for CI and release (soon)

Installation

  1. Download the repo. You can either:

    a. Clone the repo without the git history:

    pnpx degit https://github.com/mujahidfa/vue-lib

    b. Or, create a repo based on this template via the GitHub template generator.

  2. Install packages.

    pnpm install
  3. Run the dev server to open up the playground.

    cd packages/vue-lib/
    pnpm dev
  4. Build the library and run the demo app to see the library in action.

    cd packages/vue-lib/
    pnpm build
    cd ../demo/
    pnpm dev

About

A monorepo starter for building Vue libraries. Written in TypeScript and supports TSX.


Languages

Language:TypeScript 44.6%Language:Vue 28.0%Language:HTML 14.2%Language:JavaScript 13.2%