Skip to content

A fork of vaguer template with the vite-plugin-generate-exports

License

Notifications You must be signed in to change notification settings

olemarius/vaguer-generate-exports

 
 

Repository files navigation

Vaguer

This repo provides a basic setup for developing component libraries in Vite with Vue 3

Features

  • Type Generation
  • Tailwind CSS via WindiCSS
  • Automatically export and register all components in ./src/components via vite-plugin-generate-exports
  • ./demo folder where you can test your components

Checklist

After you clone the repo there are a few things you are going to want to change.

  • Rename name field in package.json
  • Rename module and main fields in package.json(for example "module": "./dist/[my-package].js")
  • Make the same changes in the previous step to the exports field
  • Change the author name in LICENSE
  • Clean up the README

Commands

npm run dev # Will run the demos app so you can see your components
npm run build # Will build your components into a library and generate types

About

A fork of vaguer template with the vite-plugin-generate-exports

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 45.0%
  • JavaScript 31.1%
  • Vue 15.0%
  • HTML 8.9%