harmony-vue-components

0.1.2 • Public • Published

Harmony Vue Components

Library of various Vue 2 components with focus on accessibility.

Installation

npm install

Demo with docs

npm run storybook

Live demo/docs

Playground

npm run serve

Localization

Localization files can be found in src/locales directory.

If you want to add your own translations or overwrite existing one, do something like:

import { translations } from 'src/mixins/translations.js';
import { myTranlsations } from 'mytranslations.js';

// add new translations (follow structure of translation object from files in the `src/locales` directory)
translations.add('cs', myTranslations);

If you want to change locale, do something like:

import { translations } from 'src/mixins/translations.js';

// change locale (default is 'en')
translations.setLocale('cs');

Readme

Keywords

none

Package Sidebar

Install

npm i harmony-vue-components

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

1.18 MB

Total Files

470

Last publish

Collaborators

  • saba4aa