File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
# vue-input-file
2
2
3
- 上传文件、本地展示(Vue组件 )
3
+ 上传文件、本地展示(Vue@2组件 )
4
4
5
5
1 . npm:< https://www.npmjs.com/package/vue-input-file >
6
6
2 . demo:< https://realgeoffrey.github.io/vue-input-file/demo/index.html >
14
14
2. 浏览器引用
15
15
16
16
` ` ` html
17
- < ! -- 需要先引入vue:< script src=" //unpkg.com/vue" ></script> -->
17
+ < ! -- 需要先引入vue:< script src=" //unpkg.com/vue@2 " ></script> -->
18
18
< script src=" //unpkg.com/vue-input-file" ></script>
19
19
` ` `
20
20
48
48
1. 全局注册
49
49
50
50
` ` ` html
51
- < ! -- 需要先引入vue:< script src=" //unpkg.com/vue" ></script> -->
51
+ < ! -- 需要先引入vue:< script src=" //unpkg.com/vue@2 " ></script> -->
52
52
< ! -- 需要先引入vue-input-file:< script src=" //unpkg.com/vue-input-file" ></script> -->
53
53
54
54
< script>
60
60
2. 局部注册
61
61
62
62
` ` ` html
63
- < ! -- 需要先引入vue:< script src=" //unpkg.com/vue" ></script> -->
63
+ < ! -- 需要先引入vue:< script src=" //unpkg.com/vue@2 " ></script> -->
64
64
< ! -- 需要先引入vue-input-file:< script src=" //unpkg.com/vue-input-file" ></script> -->
65
65
66
66
< script>
Original file line number Diff line number Diff line change 51
51
52
52
</ div >
53
53
54
- < script src ="//unpkg.com/vue "> </ script >
54
+ < script src ="//unpkg.com/vue@2 "> </ script >
55
55
< script src ="//unpkg.com/vue-input-file "> </ script >
56
56
<!-- <script src="../dist/vue-input-file.iife.js"></script> -->
57
57
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-input-file" ,
3
- "description" : " 上传文件、本地展示(Vue组件 )" ,
3
+ "description" : " 上传文件、本地展示(Vue@2组件 )" ,
4
4
"repository" : {
5
5
"type" : " git" ,
6
6
"url" : " git@github.com:realgeoffrey/vue-input-file.git"
35
35
"rollup-plugin-vue" : " 5.0.1" ,
36
36
"vue-template-compiler" : " ^2.6.10"
37
37
},
38
- "version" : " 1.0.2 "
38
+ "version" : " 1.0.3 "
39
39
}
You can’t perform that action at this time.
0 commit comments