Skip to content

Commit

Permalink
Improve Readme (#15)
Browse files Browse the repository at this point in the history
* SASS deprecation warnings with version 1.77.7

* improve readme
  • Loading branch information
jules-w2 authored Oct 28, 2024
1 parent b32963d commit 41a75e5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Install:
$ npm install --save @deltablot/dropzone
# or with yarn:
$ yarn add @deltablot/dropzone
# or with bun:
$ bun add @deltablot/dropzone
```

First argument is an element to bind to, second argument is the [`options`](./src/options.js) object.
Expand All @@ -55,6 +57,14 @@ bundlers](https://github.com/dropzone/dropzone-examples)

Note: this library must be used in a [secure context](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts) (works only over HTTPS or locally).

<hr>

**CSS**

```css
@import "@deltablot/dropzone/src/dropzone";
```

## Not using a package manager or bundler?

Use the standalone files like this:
Expand Down

0 comments on commit 41a75e5

Please sign in to comment.