Skip to content

Commit

Permalink
describe vue setup (#31)
Browse files Browse the repository at this point in the history
Now users will know how to use dynamic components with Vue.
  • Loading branch information
Destaq authored Feb 3, 2021
1 parent 7efcf0c commit ec2df8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/content/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ We bundle AlpineJS v2.8.0 for reactivity in our components. Learn more about [Al
<script src="https://cdn.jsdelivr.net/npm/kutty@latest/dist/dropdown.min.js"></script>
```

### For Vue

By default, this project uses AlpineJS' `@click` shorthand for dynamic content such as dialogs or drawers. However, this clashes with Vue's `@click` shorthand, which takes precedence. Therefore, if you want to leverage these features, you'll have to change any `@click` bindings in the documentation/components to `x-on:click`.

## Development

You need [Hugo](https://gohugo.io/) to run the dev server. If you have [Homebrew](https://brew.sh/) you can do the following:
Expand Down

0 comments on commit ec2df8a

Please sign in to comment.