Skip to content

mujahidfa/vue-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published