c-flagscomponent

0.1.3 • Public • Published

Flags Component

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

How to use

After installing the component in the project using npm, you need to import the file flagsComponent.vue from node_modules like this:

import flagCss from "../../node_modules/flag-icon-css/css/flagsComponent.vue";

The component have only on prop it's "characteristics" it's an array of objects.

Each object take two keys : language(mandatory) and level(optional).

level : "fair", "good", "fluent", "mother-tongue".

language : A2 (ISO).

If the level key is absent in the props , only the flag will be displayed.

Examples :

Readme

Keywords

none

Package Sidebar

Install

npm i c-flagscomponent

Weekly Downloads

4

Version

0.1.3

License

none

Unpacked Size

5.27 MB

Total Files

530

Last publish

Collaborators

  • mahdibenromdhane