@anywhere-ui/vue
    TypeScript icon, indicating that this package has built-in type declarations

    0.2.1 • Public • Published

    @anywhere-ui/vue

    AnywhereUI integration for Vue 3 apps.

    @anywhere-ui/vue combines the core AnywhereUI experience with the tooling and APIs that are tailored to Vue 3 Developers.

    AnywhereUI Web Components for Vue 3

    These are AnywhereUI Web Components specifically build for Vue 3.

    Usage

    Add this package to your project:

    npm install @anywhere-ui/vue

    Or:

    yarn add @anywhere-ui/vue

    Edit the main.js or if use typescript main.ts file like this:

    import { createApp } from "vue";
    import App from "./App.vue";
    import { AnywhereUIVue } from "@anywhere-ui/vue";
    
    const app = createApp(rootComponent)
      .use(AnywhereUIVue as any)
      .use(router);
    
    router.isReady().then(() => {
      app.mount("#app");
    });

    Import the component(s) you want to use:

    import { AnyCheckbox } from "@anywhere-ui/vue";

    Use it in your template as any Vue component:

    <AnyCheckbox checked="true" label="Vue"></AnyCheckbox>

    Config

    AnywhereUI Config provides a way to change the properties of components globally across an app. It can set the ripple effect, app mode, animations, and more.

    Global Config

    To override the initial AnywhereUI config for the app, provide your config object as an additional parameter when installing the AnywhereUIVue plugin:

    import { AnywhereUIVue } from "@anywhere-ui/vue";
    
    createApp(App).use(AnywhereUIVueVue as any, {
      rippleEffect: false,
    });

    Config Options

    Below is a list of config options that AnywhereUI uses.

    Config Type Default Description
    rippleEffect boolean true If true adds ripple effect to the components.

    Build

    npm run build

    How to release a new version

    • Build the core package
    • Run build on this package
    • Publish

    Install

    npm i @anywhere-ui/vue

    DownloadsWeekly Downloads

    6

    Version

    0.2.1

    License

    MIT

    Unpacked Size

    84.2 kB

    Total Files

    11

    Last publish

    Collaborators

    • gjovanovicst