# vue-flags

> An extremely lightweight Vue.js library of flags from all over the world. 🌍

Latest version **0.0.4** (published 2019-02-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install vue-flags
pnpm add vue-flags
yarn add vue-flags
bun add vue-flags
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2019-02-01 |
| First published | 2019-01-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 7.7 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Nada Rifki |
| Maintainers | nada-lc |

## Links

- npm: https://www.npmjs.com/package/vue-flags
- npm.io page: https://npm.io/package/vue-flags

## Dependencies (2)

- [vue](https://npm.io/package/vue.md) ^2.5.21
- [rollup-plugin-copy](https://npm.io/package/rollup-plugin-copy.md) ^0.2.3

## Recent versions

- 0.0.4 (latest) — 2019-02-01
- 0.0.3 — 2019-01-27
- 0.0.2 — 2019-01-26
- 0.0.1 — 2019-01-25

## README

<h1 align="center" style="font-family: ProximaNova-Bold; font-size: 50px; color: #9dd994; text-transform: uppercase;">Vue-flags</h1>

## Documentation

You can browse the documentation for Vue-Flags [on the website](https://www.nadarifki.com/vue-flags).

## Installation

```
npm install vue-flags

# Or if you prefer using yarn
yarn add vue-flags
```

### Vue.js

In your `main.js` file:

```js
import Vue from "vue";
import VueFlags from "vue-flags";

import "vue-flags/assets/stylesheets/vue-flags.css";

Vue.use(VueFlags);
```

### Nuxt.js

Create a new plugin in `plugins/vueflags.js`:

```js
import Vue from "vue";
import VueFlags from "vue-flags";

import "vue-flags/assets/stylesheets/vue-flags.css";

Vue.use(VueFlags);
```

Add this new plugin to `nuxt.config.js`. Don't forget to set ssr to false as Vue-Flags only works in the browser for the time being.

```js
{
  // ...
  plugins: [{ src: "@/plugins/vueflags.js", ssr: false }];
}
```

## Who is using Vue-Flags?

Are you using Vue-Flags on one of your projects? [Tweet me](https://twitter.com/rifkinada) so we can add your logo here. 👻

## Contributing

You are more than welcome to contribute to Vue-Flags. Just submit changes via pull request and I will review them before merging.

1. Fork it! 🤙

2. Create your feature branch: `git checkout -b my-new-feature`

3. Commit your changes: `git commit -am "Add some feature"`

4. Push to the branch: `git push origin my-new-feature`

5. Submit a pull request 👍

## License

Vue Dark Mode is [MIT licensed](LICENSE).

---
_Source: https://npm.io/package/vue-flags · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
