0.2.1 • Published 6 years ago

anemone-ui v0.2.1

Weekly downloads
21
License
-
Repository
github
Last release
6 years ago

anemone-ui

A library of scss and Vue.js 2.0 UI components and utility helpers. This project is currently nowhere near release/production worthy, so please don't expect it to be.

Quick start

There are multiple ways to install all the elements of this library. The easy way is to just import the entire library, which automatically installs all components as namespaced elements.

// First import the module
import anemoneUI from 'anemone-ui';

// then install in Vue
Vue.use(anemoneUI);

Then also include the css by referencing it in the html or importing it into (for example) scss by @import '~anemone-ui/dist/anemonui.css'.

If you want to include individual components:

// import the relevant components
import { AnemoneUIComponentName } from 'anemone-ui';

// then register them under your own element name
Vue.component('anemone-component-name', AnemoneUIComponentName);

It's not yet possible to include individual component's compiles css files, but you can import the source scss file yourself.

// in an scss file
// import the variables file before everything else
@import '~anemone-ui/src/scss/reference';

// then import the components you need
@import '~anemone-ui/src/components/{name}/{name}.scss';

Browser support

All modern browsers and IE11

0.2.1

6 years ago

0.2.0

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago