Skip to content

amends0k/Fantom-Vue3-Components

 
 

Repository files navigation

Fantom Vue 3 Components

Library of various Vue 3 components with focus on accessibility.

Installation

npm install

Demo with docs

npm run storybook

Test components

npm run test

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');

About

Vue v.3 components for Fantom frontend UX.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 61.3%
  • Vue 27.5%
  • SCSS 11.1%
  • Other 0.1%