Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Vue 3.x #63

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .babelrc

This file was deleted.

21 changes: 15 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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?
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["Vue.volar"]
}
17 changes: 6 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,19 @@ Flagpack contains 260+ flag icons to easily use within your code project. Flagpa
## vue-flagpack
<p>
<a href="https://www.npmjs.com/package/vue-flagpack" target="_blank">
<img src="https://img.shields.io/npm/v/vue-flagpack.svg?style=flat" />
<img src="https://img.shields.io/npm/v/vue-flagpack.svg?style=flat" alt="" />
</a>
<a href="https://www.npmjs.com/package/vue-flagpack" target="_blank">
<img src="https://img.shields.io/npm/dt/vue-flagpack.svg?style=flat" />
<img src="https://img.shields.io/npm/dt/vue-flagpack.svg?style=flat" alt="" />
</a>
<a href="https://github.com/sponsors/Yummygum" target="_blank">
<img src="https://img.shields.io/badge/Support-♥-E94AAA" />
<img src="https://img.shields.io/badge/Support-♥-E94AAA" alt="" />
</a>
<a href="https://twitter.com/flagpack" target="_blank">
<img src="https://img.shields.io/twitter/follow/flagpack.svg?style=social&label=follow" />
<img src="https://img.shields.io/twitter/follow/flagpack.svg?style=social&label=follow" alt="" />
</a>
</p>
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

Expand Down Expand Up @@ -65,7 +63,7 @@ Vue.component('flag-nl', {

### Via UNPKG network
```html
<script src="https://unpkg.com/vue-flagpack@latest/dist/vue-flag-rollup.cjs.js"></script>
<script src="https://unpkg.com/vue-flagpack@latest/dist/vue-flag-rollup.cjs"></script>
<script>
const instance = new Vue({
el: '#app',
Expand Down Expand Up @@ -109,9 +107,6 @@ npm install

# build for prod
npm run build

# build with watcher for dev
npm run dev
```

## Releasing
Expand Down
1 change: 1 addition & 0 deletions dist/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/vite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/vue-flag-rollup.cjs

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/vue-flag-rollup.cjs.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/vue-flag-rollup.esm.js

This file was deleted.

Loading