vue-flagpack icon indicating copy to clipboard operation
vue-flagpack copied to clipboard

Flag component isnt individually exported

Open carbotaniuman opened this issue 3 years ago • 1 comments

import { Flag } from 'vue-flagpack'

Please check all that apply

  • [ ] visual bug
  • [X] functional bug
  • [X] able to consistently reproduce

Expected Behavior

The Flag component gets exported and I am able to use it individually.

Current Behavior

Flag is undefined as it is not exported

Possible Solution

Add an export for the flag in the module.exports

Steps to Reproduce

  1. Try the Import straight away example

Screenshots

Logs

Context

I am trying to lazily load the flags in.

Your Environment

  • Version used: 1.01
  • Browser Name and version: Firefox 90.0b
  • Operating System and version (desktop or mobile): Windows 10 Desktop
  • Link to your project: None

carbotaniuman avatar Jun 08 '21 21:06 carbotaniuman

@donovanroubos, it works in pr #63

nazar1ua avatar Jul 29 '22 11:07 nazar1ua