You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
.vscode | 4 years ago | |
build | 4 years ago | |
demo | 4 years ago | |
packages | 4 years ago | |
public | 4 years ago | |
src | 4 years ago | |
.gitignore | 4 years ago | |
.npmignore | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
index.html | 4 years ago | |
package-lock.json | 4 years ago | |
package.json | 4 years ago | |
pnpm-lock.yaml | 4 years ago | |
tsconfig.json | 4 years ago | |
vite.config.ts | 4 years ago |
README.md
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
./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 inpackage.json
- Rename
module
andmain
fields inpackage.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