@42sol/vui
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

42sol-vui (alpha)

Install

npm install @42sol/vui
# or
yarn add @42sol/vui

Usage

Use plugin

// 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>

Import on demand

<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';

Components

Readme

Keywords

none

Package Sidebar

Install

npm i @42sol/vui

Weekly Downloads

2

Version

0.1.2

License

none

Unpacked Size

176 kB

Total Files

68

Last publish

Collaborators

  • dmrompav
  • disaipe