npm install @42sol/vui
# or
yarn add @42sol/vui
// src/main.js
import VUI from '@42sol/vui';
import '@42sol/vui/dist/42sol-vui.css';
import { createApp } from 'vue';
import App from './App.vue';
const app = createApp(App);
app
.use(VUI)
.mount('#app');
<template>
<Button type='primary' class='m-2'>Hello VUI</Button>
</template>
<template>
<Button type='primary' class='m-2'>Hello VUI</Button>
</template>
<script>
import { Button } from '42sol/vui';
</script>
Do not forget to import lib styles
// Probably src/main.js
import '@42sol/vui/dist/42sol-vui.css';