JSPM

vue-currency-symbol

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 8574
  • Score
    100M100P100Q131936F
  • License MIT

A simple VueJs library that returns symbol of a country.

Package Exports

  • vue-currency-symbol

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-currency-symbol) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

vue-nigeria-states-lgas

NPM

npm version

A simple VueJs library that returns symbol of a country.

Installation

npm install vue-currency-symbol

Usage

In the component where you want use Nigeria states and Lgas

import StatesLgas from 'vue-currency-symbol/dist/vue-currency-symbol.esm.js'

Then register the component.

<script>

   ...

   import Vue from 'vue'
   
   import CurrencySymbol from 'vue-currency-symbol/dist/vue-currency-symbol.esm.js'
   
   Vue.use(CurrencySymbol)
   
   ...

</script>

Use currencySymbol(countryName) to get the corresponding country currency symbol

Note

Use as a value of v-html directive

Example

Adding <span v-html="currencySymbol('japan')"></span> to the element you want to use the symbol returns Japanese Yen symbol // ¥