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.
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';
All modern browsers and IE11