0.4.0 • Published 4 years ago

aim-ui v0.4.0

Weekly downloads
39
License
-
Repository
-
Last release
4 years ago

AIM CSS/UI Components for Vue.js to be used in AIM Lab's AIMViewer slide annotator.

Quick start

To use this library in a project in a project, install it via NPM by doing npm install npm-ui in your terminal, then add the following to your Vue application entry point:

// src/index.js
import Vue from 'vue';
import AimUI from 'aim-ui';
import 'aim-ui/dist/aim-ui.css';
// Suggested font and icons.
import './assets/lato/latofonts.css';
import './assets/fontawesome-free-5.13.1-web/css/all.min.css';
// ...import other necessary modules

Vue.use(AimUI);

// ...rest of Vue app initialization

As in the above, please use Font Awesome (5.x). It's a good idea to use Lato fonts for your application.

How to Use

The easiest way to view it in action is to launch the Aim UI style guide by doing npm run styleguide. Then go to localhost:6060 on your browser to view it. This gives a comprehensive guide demonstrating the UI components themselves and the UI code.

Development

Every time you make changes to Aim UI and you want it to take effect on your applications you have to build, publish Aim UI. After that you want to upgrade the aim-ui NPM package to the newest version.

This library needs Vue CLI to build. Please install Vue CLI via npm install --global @vue/cli to get access to it.

Doing npm run build calls vue-cli-service build --target lib ./src/index.js to build the changes in the dist directory.

Color scheme

The color scheme used for Aim UI is inspired by Material Design's dark scheme.

Bugs

Vue provide / inject, along other APIs fail when this library is imported as local modules (i.e. imported using npm link or npm import /path/to/library). A workaround is to import this library from the NPM repository. In addition, changes to this library should be published to NPM and reinstalled to the projects where you are using AimUI.

0.4.0

4 years ago

0.3.8

4 years ago

0.3.7

4 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago