A curated collection of vue.js UI components, EOX style.
npm install @eox/ui
In your main.js
, or a similar entry point, import the library using:
import '@eox/ui';
<script src="//unpkg.com/@eox/ui/dist/eox.umd.min.js"></script>
<eox-page-layout>
...
</eox-page-layout>
<eox-button :color="'eox'" :icon="'dashboard'" :link="'eox.at'">Test</eox-button>
- The prop 'color' with the value 'eox' applies EOX style blue background. Default background is grey. Other possible values: 'info', 'success', 'warning', 'danger'
- The prop 'icon' adds an (optional) material-design icon. Any name from the official documentation can be used here.
- The prop 'link' renders an anchor tag instead of a button, pointing to the passed value.
<eox-markdown>
# Hello World
</eox-markdown>
<eox-logo height="30px"/>
npm install
npm run serve
npm run build
npm run build:npm
npm run test
npm run lint