npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

aimlab-ui

v0.4.5

Published

AIM CSS/UI Components for [Vue.js](https://vuejs.org/) to be used in AIM Lab's AIMViewer slide annotator.

Downloads

6

Readme

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 please do the following:

  1. Make sure aimlab-ui is in the NPM registry. I'm hosting mine at https://www.npmjs.com/package/aimlab-ui
  2. cd into your project and install it via NPM by doing npm install aimlab-ui in your terminal
  3. add the following to your Vue application entry point:
// src/index.js
import Vue from 'vue';
import AimUI from 'aimlab-ui';
import 'aimlab-ui/dist/aimlab-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
  1. Install dependencies:
  • As in the above, please download use Font Awesome (5.x).
  • It's a good idea to download and use Lato fonts for your application.

Documentation

The easiest way to view it in action is to launch the Aim UI style guide by doing npm install; npm run serve: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.

Example

To run an example page built using Aim UI, do npm run serve. Then go to localhost:8080 on your browser to view it.

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. To do this:

  1. Check that you have Vue CLI to build. If not then install Vue CLI via npm install --global @vue/cli.

  2. Install libraries by doing npm install.

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

  4. Set the aimlab-ui NPM package to the newer version by editing the line "version": "x.y.z", in package.json. Increment 'z' for bug fixes, 'y' for backward compatible changes, and 'x' for major backward incompatible changes.

  5. Do npm publish to publish it to the NPM registry. Guide.

  6. In the projects where you are using aimlab-ui you want to modify the version in that project's package.json and then do npm update aimlab-ui. Guide.

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.