Skip to content

Conversation

@freakdaniel
Copy link
Contributor

Fix for #112

Error when trying to install components via CLI appears because command URL pointed to HTML pages instead of JSON files. So i made a migration to jsrepo v3 (like how it works in react-bits). The build generates public/ui directory with Animations, Backgrounds, Components and TextAnimations sub-dirs inside

Testing

Tested locally using fs:// provider - components install correctly with all dependencies

// testing jsrepo.config.ts

import { defineConfig } from 'jsrepo';
import { fs } from 'jsrepo/providers';

export default defineConfig({
  providers: [fs()],
  registries: ['fs://C:/path/to/vue-bits/public/ui']
});

P.S. Tell me if something doesn't work properly or needs formatting. I tired my best using jsrepo docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant