README
Vida
Vida is a Vue 3 component library for utility components.
How to use
- Install
vida
by running this command in the root folder of your Vue project:
yarn add @alanmorel/vida
- 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.