Skip to content

libvue/core

Repository files navigation

logo

license npm (tag)

A collection of vue 3 components.

documentation - npm

Install

npm install --save @libvue/core

main.js

import { LvButton, LvTable, spaceAfter } from '@libvue/core';

// Register components
app.component('LvButton', LvButton);
app.component('LvTable', LvTable);

// Register directives
app.directive('space-after', spaceAfter);

app.scss

@import '@libvue/core';

html {
  min-height: 100%;
  height: 100%;
  font-size: 100%;
}
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  height: 100%;
  font-size: .875rem;
  line-height: 1.5;
}
#app {
  display: flex;
  min-height: 100%;
}