Skip to content

Commit f8c2507

Browse files
committed
Fixes for doco around fonts
1 parent ebf1600 commit f8c2507

File tree

6 files changed

+15
-7
lines changed

6 files changed

+15
-7
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ A Vue component for file uploads, powered by [Dropzone.js](http://www.dropzonejs
77
// For Vue.js 2.0+
88
npm install vue2-dropzone^2.0.0
99
````
10+
You'll also need to load either the [Material Icon](https://material.io/icons/) or [FontAwesome](http://fontawesome.io/) icon kits depending on which style of icon you'd like.
11+
````
12+
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
13+
rel="stylesheet">
14+
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
15+
````
1016

1117
## Usage
1218
1. Import the module

dev/bundle.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev/bundle.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.html

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<link rel="stylesheet" type="text/css" href="dev/style.css">
99
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
1010
rel="stylesheet">
11+
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
1112
</head>
1213
<body>
1314
<div id="app">

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vue2-dropzone",
33
"description": "A wrapper around Dropzone.js for Vue 2",
44
"author": "rowanwins <[email protected]>",
5-
"version": "2.1.1",
5+
"version": "2.1.2",
66
"main": "./dist/vue2-dropzone.js",
77
"scripts": {
88
"dev": "webpack-dev-server --inline --hot --config ./build/dev.js --port 8080",

src/App.vue

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<template>
22
<div id="app">
33
<p>
4-
Welcome to your Vue.js app!
4+
Welcome to your Vue.js app with dropzone!
55
</p>
6-
<dropzone id="myVueDropzone" url="https://httpbin.org/post" v-on:vdropzone-success="success" v-bind:auto-process-queue="processQueue"></dropzone>
6+
<dropzone id="myVueDropzone" url="https://httpbin.org/post" v-on:vdropzone-success="success"></dropzone>
77
<button v-on:click="process">process</button>
88
</div>
99
</template>
@@ -17,7 +17,8 @@
1717
},
1818
data () {
1919
return {
20-
processQueue: false
20+
processQueue: false,
21+
fa: true
2122
}
2223
},
2324
methods: {

0 commit comments

Comments
 (0)