Skip to content

Commit 0af92ce

Browse files
author
geofryzheng
committed
仅支持Vue 2版本
1 parent f3afeef commit 0af92ce

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# vue-input-file
22

3-
上传文件、本地展示(Vue组件
3+
上传文件、本地展示(Vue@2组件
44

55
1. npm:<https://www.npmjs.com/package/vue-input-file>
66
2. demo:<https://realgeoffrey.github.io/vue-input-file/demo/index.html>
@@ -14,7 +14,7 @@
1414
2. 浏览器引用
1515

1616
```html
17-
<!-- 需要先引入vue:<script src="//unpkg.com/vue"></script> -->
17+
<!-- 需要先引入vue:<script src="//unpkg.com/vue@2"></script> -->
1818
<script src="//unpkg.com/vue-input-file"></script>
1919
```
2020

@@ -48,7 +48,7 @@
4848
1. 全局注册
4949
5050
```html
51-
<!-- 需要先引入vue:<script src="//unpkg.com/vue"></script> -->
51+
<!-- 需要先引入vue:<script src="//unpkg.com/vue@2"></script> -->
5252
<!-- 需要先引入vue-input-file:<script src="//unpkg.com/vue-input-file"></script> -->
5353
5454
<script>
@@ -60,7 +60,7 @@
6060
2. 局部注册
6161
6262
```html
63-
<!-- 需要先引入vue:<script src="//unpkg.com/vue"></script> -->
63+
<!-- 需要先引入vue:<script src="//unpkg.com/vue@2"></script> -->
6464
<!-- 需要先引入vue-input-file:<script src="//unpkg.com/vue-input-file"></script> -->
6565
6666
<script>

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
</div>
5353

54-
<script src="//unpkg.com/vue"></script>
54+
<script src="//unpkg.com/vue@2"></script>
5555
<script src="//unpkg.com/vue-input-file"></script>
5656
<!-- <script src="../dist/vue-input-file.iife.js"></script> -->
5757

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-input-file",
3-
"description": "上传文件、本地展示(Vue组件",
3+
"description": "上传文件、本地展示(Vue@2组件",
44
"repository": {
55
"type": "git",
66
"url": "git@github.com:realgeoffrey/vue-input-file.git"
@@ -35,5 +35,5 @@
3535
"rollup-plugin-vue": "5.0.1",
3636
"vue-template-compiler": "^2.6.10"
3737
},
38-
"version": "1.0.2"
38+
"version": "1.0.3"
3939
}

0 commit comments

Comments
 (0)