diff --git a/.babelrc b/.babelrc deleted file mode 100644 index e812394..0000000 --- a/.babelrc +++ /dev/null @@ -1,6 +0,0 @@ -{ - "presets": [ - ["env", { "modules": false }], - "stage-3" - ] -} diff --git a/.gitignore b/.gitignore index 7650853..234f2f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1,22 @@ -.DS_Store -node_modules/ -npm-debug.log -yarn-error.log -.package-lock.json +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +*.local # Editor directories and files +.vscode/* +!.vscode/extensions.json .idea -.vscode +.DS_Store *.suo *.ntvs* *.njsproj *.sln +*.sw? diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..a7cea0b --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["Vue.volar"] +} diff --git a/README.md b/README.md index 48d64d5..8eb46aa 100644 --- a/README.md +++ b/README.md @@ -9,21 +9,19 @@ Flagpack contains 260+ flag icons to easily use within your code project. Flagpa ## vue-flagpack

- + - + - + - +

-Flagpack for Vue is created using Vue v2.5.11. The Flagpack component has not been tested for compatibility with older version of Vue. - -⚠ Flagpack for Vue has been reported to not work with Vue 3. Adding support for Vue 3 has been added to the future plans of Flagpack for Vue. +Flagpack for Vue now is supporting Vue 3.x, and recreated with ViteJS ## Installation @@ -65,7 +63,7 @@ Vue.component('flag-nl', { ### Via UNPKG network ```html - + + + diff --git a/src/Flag.vue b/lib/Flag.vue similarity index 74% rename from src/Flag.vue rename to lib/Flag.vue index 541f80b..b1b7823 100644 --- a/src/Flag.vue +++ b/lib/Flag.vue @@ -1,6 +1,5 @@ -