Skip to content

Commit

Permalink
build: release 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuanchen committed Feb 7, 2022
1 parent 451c1c9 commit f6f3eea
Show file tree
Hide file tree
Showing 7 changed files with 22,291 additions and 3,825 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# [2.0.0](https://github.com/fengyuanchen/vue-feather/compare/v2.0.0-rc.1...v2.0.0) (2022-02-07)



# [2.0.0-rc.1](https://github.com/fengyuanchen/vue-feather/compare/v2.0.0-rc...v2.0.0-rc.1) (2021-10-23)


Expand Down
31 changes: 23 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# vue-feather

[![Coverage Status](https://img.shields.io/codecov/c/github/fengyuanchen/vue-feather.svg)](https://codecov.io/gh/fengyuanchen/vue-feather) [![Downloads](https://img.shields.io/npm/dm/vue-feather.svg)](https://www.npmjs.com/package/vue-feather) [![Version](https://img.shields.io/npm/v/vue-feather/next.svg)](https://www.npmjs.com/package/vue-feather) [![Gzip Size](https://img.shields.io/bundlephobia/minzip/vue-feather.svg)](https://unpkg.com/vue-feather/dist/vue-feather.js)
[![Coverage Status](https://img.shields.io/codecov/c/github/fengyuanchen/vue-feather.svg)](https://codecov.io/gh/fengyuanchen/vue-feather) [![Downloads](https://img.shields.io/npm/dm/vue-feather.svg)](https://www.npmjs.com/package/vue-feather) [![Version](https://img.shields.io/npm/v/vue-feather.svg)](https://www.npmjs.com/package/vue-feather) [![Gzip Size](https://img.shields.io/bundlephobia/minzip/vue-feather.svg)](https://unpkg.com/vue-feather/dist/vue-feather.js)

> [Feather](https://feathericons.com/) icons component for Vue 3.
> [Feather](https://feathericons.com/) icons component for Vue 3. For Vue 2, check out the [`v1`](https://github.com/fengyuanchen/vue-feather/tree/v1) branch.
- [Docs](src/README.md)
- [Demo](https://fengyuanchen.github.io/vue-feather)
Expand All @@ -14,23 +14,38 @@ dist/
├── vue-feather.js (UMD, default)
├── vue-feather.min.js (UMD, compressed)
├── vue-feather.esm.js (ECMAScript Module)
└── vue-feather.esm.min.js (ECMAScript Module, compressed)
├── vue-feather.esm.min.js (ECMAScript Module, compressed)
└── vue-feather.d.ts (TypeScript Declaration File)
```

## Getting started

### Installation

Using npm:

```shell
npm install vue@3 feather-icons@4 vue-feather@2
```

Using pnpm:

```shell
pnpm add vue@3 feather-icons@4 vue-feather@2
```

Using Yarn:

```shell
npm install vue@next feather-icons vue-feather@next
yarn add vue@3 feather-icons@4 vue-feather@2
```

In browser:
Using CDN:

```html
<script src="/path/to/vue.js"></script><!-- Vue.js is required -->
<script src="/path/to/feather.js"></script><!-- Feather is required -->
<script src="/path/to/vue-feather.js"></script>
<script src="https://unpkg.com/vue@3"></script><!-- Vue.js is required -->
<script src="https://unpkg.com/feather-icons@4"></script><!-- Feather is required -->
<script src="https://unpkg.com/vue-feather@2"></script>
```

### Usage
Expand Down
1 change: 1 addition & 0 deletions docs/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ export default defineComponent({
.markdown-body {
table {
display: table;
min-width: 100%;
}
code {
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta name="description" content="Number input component for Vue.js.">
<meta name="author" content="Chen Fengyuan">
<link href="https://unpkg.com/bootstrap@5/dist/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
<link rel="stylesheet" href="https://unpkg.com/github-markdown-css@4/github-markdown.css" crossorigin="anonymous">
<link rel="stylesheet" href="https://unpkg.com/github-markdown-css@5/github-markdown.css" crossorigin="anonymous">
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@11/styles/github.min.css" crossorigin="anonymous">
</head>
<body>
Expand All @@ -18,6 +18,6 @@
<script src="https://unpkg.com/vue@3/dist/vue.global.prod.js" crossorigin="anonymous"></script>
<script src="https://unpkg.com/feather-icons@4/dist/feather.min.js" crossorigin="anonymous"></script>
<script src="https://fengyuanchen.github.io/shared/google-analytics.js" crossorigin="anonymous"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script>hljs.highlightAll();</script>
</body>
</html>
Loading

0 comments on commit f6f3eea

Please sign in to comment.