0.2.6 • Published 5 years ago

@uq-elipse/vue-component-library v0.2.6

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

vue-component-library

Library of Vue components adhering to eLIPSE design system. This is in the form of a node module, however the version on npm is not the most recent update stored on GitHub, so please look below for using the most recent version in development.

Installation (to use library in your project)

npm install @uq-elipse/vue-component-library

Components in the library do not have fonts included, so that fonts set by the consumer can automatically be applied. For consistency with the eLIPSE Design System, we expect consumers to set the font-family of their app to:

font-family: 'Open Sans', 'Helvetica', sans-serif;

Installation (to work on library development)

IMPORTANT: Development on the library does not work when testing locally with a Babel project using npm link

First, create your test Vue app

mkdir ~/Desktop/my-project
cd ~/Desktop/my-project
vue create hello-world

Clone the repo/node module

cd ~/Desktop
git clone https://github.com/UQ-eLIPSE/vue-component-library.git

Run npm link inside the module’s root folder:

cd ~/Desktop/vue-component-library
npm link

In your test Vue app, run npm link <module_name>

cd ~/Desktop/my-project/hello-world
npm link @uq-elipse/vue-component-library

For more information on npm link, see: https://medium.com/@alexishevia/the-magic-behind-npm-link-d94dcb3a81af

Usage

In your main.ts or main.js file, add this before the new Vue instance is created

import Vue from 'vue'
import VueComponentLibrary from '@uq-elipse/vue-component-library'

Vue.use(VueComponentLibrary)

Releasing an update to the library

Please refer to the file release.md for instructions.

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.18

5 years ago

0.0.17

5 years ago

0.0.16

5 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago