Skip to content

Commit

Permalink
Reproduce countries-list getEmojiFlag error
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Jan 11, 2021
1 parent a31baee commit b6c97d4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"dependencies": {
"core-js": "^3.6.5",
"countries-list": "^2.6.0",
"vue": "^2.6.11"
},
"devDependencies": {
Expand Down
9 changes: 8 additions & 1 deletion src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="hello">
<h1>{{ msg }}</h1>
<h1>{{ msg }} {{ emoji }}</h1>
<p>
For a guide and recipes on how to configure / customize this project,<br>
check out the
Expand Down Expand Up @@ -31,10 +31,17 @@
</template>

<script>
import { getEmojiFlag } from 'countries-list';
export default {
name: 'HelloWorld',
props: {
msg: String
},
data: function() {
return {
emoji: getEmojiFlag('UA'),
};
}
}
</script>
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2682,6 +2682,11 @@ cosmiconfig@^5.0.0:
js-yaml "^3.13.1"
parse-json "^4.0.0"

countries-list@^2.6.0:
version "2.6.0"
resolved "https://registry.yarnpkg.com/countries-list/-/countries-list-2.6.0.tgz#afb91a76c4bcf96a0d40dae8352dc99d9d2dbe0b"
integrity sha512-Pqt0w6Pbi7OQhZGwgnugaWwQzeRkCWiMMo0WHe7LHhVllR6lmQA/IlfX7GWv3S5FKn5a7zNj1K1pf5C1y8tq1w==

create-ecdh@^4.0.0:
version "4.0.4"
resolved "https://registry.yarnpkg.com/create-ecdh/-/create-ecdh-4.0.4.tgz#d6e7f4bffa66736085a0762fd3a632684dabcc4e"
Expand Down

0 comments on commit b6c97d4

Please sign in to comment.