Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alanmorel/vida
https://github.com/alanmorel/vida
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/alanmorel/vida
- Owner: AlanMorel
- License: mit
- Created: 2020-09-26T23:52:32.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-10T02:02:13.000Z (over 1 year ago)
- Last Synced: 2024-10-25T02:31:48.094Z (13 days ago)
- Language: Vue
- Size: 1.03 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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:
```sh
pnpm add @alanmorel/vida
```2. Tell your app to use `vida` globally:
```typescript
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:
```vue
import { VidaSample } from "@alanmorel/vida";
export default {
name: "App",
components: {
VidaSample
}
};```
## How to preview
To preview all that Vida has to offer, simply run the example page:
```sh
pnpm serve
```