@alanmorel/vida

Vida is a Vue 3 component library for utility components.

Usage no npm install needed!

<script type="module">
  import alanmorelVida from 'https://cdn.skypack.dev/@alanmorel/vida';
</script>

README

Vida

Vida is a Vue 3 component library for utility components.

How to use

  1. Install vida by running this command in the root folder of your Vue project:
yarn add @alanmorel/vida
  1. Tell your app to use vida globally:
import Vida from "@alanmorel/vida";

const app = createApp(App);

app.use(Vida);

or alternatively explicitly tell Vue where you're getting the component from, like so:

<template>
    <VidaSample />
</template>

<script>
    import { VidaSample } from "@alanmorel/vida";

    export default {
        name: "App",
        components: {
            VidaSample
        }
    };
</script>

How to preview

To preview all that Vida has to offer, simply run the example page:

yarn serve

Then go to http://localhost:8081 to see all the Vida components.