Skip to content

Client-Web-Kit

This package provides lists, forms and entities for all resources of the ecosystem. Besides, many other features are also included.

Installation

Add the package as a dev-dependency to the project.

sh
npm install @authup/client-web-kit --save-dev

Configuration

Create a file in the plugins folder (e.g. plugins/authup.ts) to integrate it into the application.

typescript
import { APIClient } from '@authup/core';
import { install } from '@authup/client-vue';
import { createApp } from 'vue'

const app = createApp({
  /* root component options */
});

app.use(install, {
    apiClient: new APIClient({
        baseURL: 'http://localhost:3010'
    }),
    store: useAuthupStore()
});