1.4.0 • Published 2 years ago
@rivium/component-library v1.4.0
@rivium/component-library
Library of components developed in Vue JS 3 for all Rivium projects. By installing this library you will be able to import the components you need for the views you are developing, so that you will work faster and in isolation.
Installation
Install this library with the next command
npm install @rivium/component-library
Next, import the compiled styles into your main.ts
file
// src/main.ts
import { createApp } from 'vue'
import App from './App.vue'
import './tailwind.css'
import '@rivium/component-library/dist/style.css'
createApp(App).mount('#modyo-vue-3-vite')
Now you can import any component from the library. Example:
<script setup lang="ts">
import { HelloWorld } from '@rivium/component-library'
</script>
<template>
<HelloWorld msg="Hello world!" />
</template>