1.2.2 • Published 2 years ago
@sigveh/basic-ui v1.2.2
Installation
npm install @sigveh/basic-ui
Usage
To use the components, simply import them where needed.
<!-- myComponent.vue -->
<script setup lang="ts">
import { Button, Input, Form } from '@sigveh/basic-ui'
import '@sigveh/basic-ui/dist/style.css' // should be imported globally, in main.ts
</script>
<template>
<Form>
<Input label="Email" placeholder="john@doe.com" />
<Button type="submit">Submit</Button>
</Form>
</template>
Currently included components
Here is a simple overview of all components currently included in the library.
Development
To run the documentation site, run this command
npm run docs:dev