Skip to content

Commit

Permalink
馃摑 Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
marcreichel committed Aug 7, 2022
1 parent f29a958 commit 056d08b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,15 @@ Include the following `<script>` tag in the `<head>` of your document, just befo
npm install @marcreichel/alpine-autosize
```

Add the `x-autosize` directive to your project by importing the package **before** Alpine.js.
Add the `x-autosize` directive to your project by importing the package **before** starting Alpine.

```js
import Alpine from 'alpinejs';
import Autosize from '@marcreichel/alpine-autosize';

Alpine.plugin(Autosize);

window.Alpine = Alpine;
window.Alpine.start();
Alpine.start();
```

## 馃獎 Usage
Expand Down

0 comments on commit 056d08b

Please sign in to comment.