Skip to content

sveltinio/components-library

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Components Library

Crafted to be used by Sveltin based projects but definetely usable out of them

Intro

This repo is a "mono-repo" based on pnpm workspaces for managing the packages.

Each package has its own folder and README in the /packages directory. All package bundles are handled with the same command: pnpm package

Packages

Package Version Demos Changelog
@sveltinio/essentials essentials View Changelog
@sveltinio/media-content media-content View Changelog
@sveltinio/seo seo View Changelog
@sveltinio/services services View Changelog
@sveltinio/widgets widgets View Changelog

Demos

Clone the repos and install all the dependencies:

git clone https://github.com/sveltinio/components-library.git

cd components-library

pnpm install

Run the demos:

pnpm dev # or pnpm turbo run dev

Develop & Build

Clone the repos and install all the dependencies:

git clone https://github.com/sveltinio/components-library.git

cd components-library

pnpm install

Run the tests:

pnpm test:packages

Create new component

pnpm plop

Build Packages

pnpm build:packages
pnpm build:sites

License

Free and open-source software under the MIT License